A list as a key for a dictionary

前端 未结 5 1943
一整个雨季
一整个雨季 2021-01-22 08:28

I have multiple lists of tuples eg

[([1, 2, 3, 4], 2), ([5, 6, 7], 3)]

that I would like to have as keys to a dictionary (so each key in my dic

5条回答
提交回复
热议问题