sort a list of lists in python with key in .sort() function

前端 未结 0 1631
-上瘾入骨i
-上瘾入骨i 2021-01-17 03:57

I have a list of lists:

myList = [["name1", [12, 89]], ["name2", [37, 2]], ["name3", [5, 4]], ["name4", [67, 998]]]


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