字典循环遍历

1.默认打印字典的键:

 2.如果要打印值,可以通过字典名.values():

 3.如果要打印键值,可以通过字典名.items():

原文地址:https://www.cnblogs.com/zxc01/p/12706179.html