5. New Score¶
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