How to create list of tuple by distributing the key to every value element inside a Python dictionary?

后端 未结 0 1888
没有蜡笔的小新
没有蜡笔的小新 2021-01-12 09:24

I have a python dictionary as follows:

A = {7: [21, 29, 43], 16: [20, 21, 37, 49], 21: [7, 16, 43], 29: [2, 7], 43: [7, 21], 46: [23, 36]}

I

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