格式[{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 on 2021-06-18 16:43 平凡之测 阅读(202) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3