字典dict1={'F':70,'C':67,'h':104,'i':105,'s':115},访问键'C

6 查阅

字典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