student = dict(姓名='张三', 年龄=20, 性别='男'),则student['姓名']的结果是?
查看答案
student = dict(姓名='张三', 年龄=20, 性别='男'),则 "张三" in student 的结果是?
A.True
B.Flase
C.姓名
D.报错
student = dict(姓名='张三', 年龄=20, 性别='男') for s in student: print(s)的结果是?
A.姓名:张三年龄:20性别:男
B.张三20男
C.姓名 年龄 性别
D.报错
student = dict(姓名='张三', 年龄=20, 性别='男'),则student.get("name", "Not Found")的结果是?
A.张三
B.20
C.男
D.Not Found
将字典作为max的参数时,max函数的功能是?
A.返回字典键中的最大值
B.返回字典键中的最小值
C.返回字典值中的最大值
D.返回字典值中的最小值