Python merge lists of dicts by key:value pair

后端 未结 0 541
心在旅途
心在旅途 2020-12-09 09:03

l1 = [{\'item_id\': 3, \'customer_id\': 3}, {\'item_id\': 4, \'customer_id\': 1}, {\'item_id\': 5, \'customer_id\': 3}, {\'item_id\': 6, \'customer_id\': 3,}]

l2 = [{

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