打印输出列表里的字典
摘要:
格式[{1:2},{3:4},{5:6}] a=[{1:2},{3:4},{5:6}] for dic in a: for i in dic: print(i,dic[i]) 阅读全文
posted @ 2021-06-18 16:43 平凡之测 阅读(202) 评论(0) 推荐(0)
posted @ 2021-06-18 16:43 平凡之测 阅读(202) 评论(0) 推荐(0)
posted @ 2021-06-18 10:49 平凡之测 阅读(254) 评论(0) 推荐(0)