Python对字典遍历

个人博客,欢迎来撩 fangzengye.com



for i in dict:
# 键、键值
print(i, dict[i])

posted @ 2020-10-22 14:47  开源的Boy  阅读(60)  评论(0)    收藏  举报