Beginner
Rank the scores
scores is [72, 95, 88, 61, 79]. Do not change it.
Make top_three: the three highest scores, highest first. Make lowest (the smallest score) and average (the sum divided by how many there are).
Print Top three: [95, 88, 79] using top_three.
What Check tests
top_threeis[95, 88, 79]scoresis unchangedtop_threeis a new list, notscoresitselflowestis 61averageis 79.0- The program prints
Top three: [95, 88, 79]
Stuck? One hint at a time
The solution unlocks after your first Check. Try first: that is where the learning happens.
main.py
Sign in to run your code.
Output
Press Run to see what your program prints.