遍历 对 值的修改

 

l=[{'a':45},{"b":34}]
c=0
for i in l:
i['a']=c*100
c+=1

*







 

posted @ 2024-05-23 20:16  papering  阅读(3)  评论(0编辑  收藏  举报