题目内容

dict={1:1,2:'aa','D':'ee','Ty':45}print(dict.get(2))

查看答案
更多问题

dict={1:1,2:'aa','D':'ee','Ty':45}foritemindict.items():print(item)

dict={1:1,2:'aa','D':'ee','Ty':45}forkey,valueindict.items():print(key,value)

dict={1:1,2:'aa','D':'ee','Ty':45}forkeyindict.keys():print(key)

dict={1:1,2:'aa','D':'ee','Ty':45}forkeyindict.keys():print(value)

答案查题题库