uaveiro-leci/1ano/fp/extra3/ex06.py

2 lines
116 B
Python
Raw Normal View History

# Complete...
stocks2 = sorted(sorted(stocks, key=lambda stock: stock[4], reverse=True), key=lambda stock: stock[0])