5. New Score¶
Data file:
surf3_en.txt
Johny 8.65 Juan 9.12 Joseph 8.45 Stacey 7.81 Aideen 8.05 Zack 7.21 Aaron 8.31

5.1. Sorting in decreasing order¶

5.2. sort
and reverse
methods¶
The
sort
method sorts the data.The use of
reverse
keeps them in descending order.It is smarter to use
scores.sort(reverse=True)
You have attempted of activities on this page