首页 › 答案 › 题库 › 慕课 › 未分类

下列选项中,不能创建字典对象的语句是()。

下列选项中,不能创建字典对象的语句是()。
A.{'one':1,'two':2,'three':3}
B.dict('one':1,'two':2,'three':3)
C.dict([('one',1),('two',2),('three',3)])
D.dict(zip(['one','two','three'],[1,2,3]))
正确答案:dict('one':1,'two':2,'three':3)