How to add key and value pairs to new empty dictionary using for loop?

前端 未结 0 1089
猫巷女王i
猫巷女王i 2021-01-31 03:08

So I am trying to create a new dictionary from a list with dictionary values.

debts_list = [{\'amount\': 123.46, \'id\': 0}, {\'amount\': 100, \'id\': 1}, {\'amou         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题