题库 python等级考试 题目列表 下列语句中,无法创建字典dic的是?( )
单选题

下列语句中,无法创建字典dic的是?( )

A.

dic={"chinese":90,"math":95}

B.

dic=dict([("chinese",90),("math",95)])

C.

dic=dict(chinese=90,math=95)

D.

dic={[("chinese",90),("math",95)]}

题目信息
字典 二级知识块 2020年9月 较难
-
正确率
0
评论
92
点击