给定字典d,以下选项中对d.get(x, y)的描述正确的是( )
(A)返回字典d中键为y的值,如果不存在,则返回y
(B)返回字典d中值为y的值,如果不存在,则返回x
(C)返回字典d中键值对为x:y的值
(D)返回字典d中键为x的值,如果不存在,则返回y
参考答案
继续答题:下一题


(A)返回字典d中键为y的值,如果不存在,则返回y
(B)返回字典d中值为y的值,如果不存在,则返回x
(C)返回字典d中键值对为x:y的值
(D)返回字典d中键为x的值,如果不存在,则返回y