📜  python循环遍历字典 - Python代码示例

📅  最后修改于: 2022-03-11 14:46:26.125000             🧑  作者: Mango

代码示例6
d = {'x': 1, 'y': 2, 'z': 3} 
for key in d:
    print key, 'corresponds to', d[key]