How to have primary and secondary sorting stipulations for a list of lists in Python

前端 未结 0 1185
慢半拍i
慢半拍i 2021-01-04 11:00

I have this list of lists:

myList = [[1, 200], [3, 200], [4, 300], [2, 200], [1, 300]]

And would like to know how I could sort it primarily b

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