摘要: 提取字典中的key和value m1 = 0 m2 = 0 m3 = 0 result = {408:1,399:2,389,6} for key,items in result.items(): if key = 408: m1 += items elif key = 399: m2 += ite 阅读全文
posted @ 2019-03-05 14:36 小青~ 阅读(265) 评论(0) 推荐(0) 编辑