FP: Extra3: Ex06 update

This commit is contained in:
TiagoRG 2023-01-19 14:16:27 +00:00
parent 5a894e88ee
commit 55869ba669
Signed by untrusted user who does not match committer: TiagoRG
GPG Key ID: DFCD48E3F420DB42
1 changed files with 1 additions and 2 deletions

View File

@ -1,2 +1 @@
# Complete...
stocks2 = sorted(stocks, key=lambda stock: (stock[0], -stock[4])) stocks2 = sorted(stocks, key=lambda stock: (stock[0], -stock[4]))