字典dict1={'F':70,'C':67,'h':104,'i':105,'s':115},访问键'C'对应的值,下列选项正确的是?
字典dict1={'F':70,'C':67,'h':104,'i':105,'s':115},访问键'C'对应的值,下列选项正确的是?
A.dict1['C']
B.dict1[C]
C.dict1.get('C')
D.dict1.get(C)
正确答案:AC
Tag:Python程序设计基础 字典 选项
时间:2022-07-07 15:43:59