遍历 对 值的修改

l=[{'a':45},{"b":34}]c=0for i in l: i['a']=c*100 c+=1 * 翻译 搜索 复制
posted @ 2024-05-23 20:16  papering  阅读(3)  评论(0编辑  收藏  举报