下列选项中,不能创建字典对象的语句是()。
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)
下列选项中,不能创建字典对象的语句是()。
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)