Match dictionary keys and values in new dictionary

前端 未结 0 514
一生所求
一生所求 2021-02-19 22:49

I trying to match keys and values in a dictionary together and put them into a new dictionary.

My initial dictionary looks like this:

d = {1: [5,6], 3: [4]         


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