运用到的python知识点: excel相关:https://www.cnblogs.com/yaner2018/p/11269873.html 字典: python字典的几种方式: 1)key值遍历 d = {'} for k in d: print(k+':'+d[k]) print('------------') for k in d.keys(): print(k+':'+d[k]) key值遍历 a:1 b:2 c:3 ------------ a:1 b:2 c:3 运行结果 for…