filmov
tv
Sort 2D List By Multiple Columns Using Python
![preview_player](https://i.ytimg.com/vi/SSD4NOjb8_c/maxresdefault.jpg)
Показать описание
How do you sort a 2D list in Python?
Using the sorted() function and the key parameter you can use a lambda function that takes a tuple of the elements you want to order.
Using the sorted() function and the key parameter you can use a lambda function that takes a tuple of the elements you want to order.