首页
›
答案
›
题库
›
慕课
›
未分类
下列选项中,不能创建字典对象的语句是()。
下列选项中,不能创建字典对象的语句是()。
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)
标签:
Python编程基础
语句
字典
上一条:
下列选项中,错误的描述是()。
下一条:
下列占位运算符中,表示有符号整型十进制数的占位符是()。