题库 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月 选择题
100%
正确率
0
评论
32
点击