← back to unit
Easy
# sorting easy
The Podium
Medal ceremony! Three steps on the podium, three different scores at the top. 🥇
You get a list of scores (at least three, all different). Print three lines: gold <score>, silver <score>, bronze <score>.
Example:
Input: scores = [72, 95, 88, 61]
Output:
gold 95
silver 88
bronze 72
Sorted biggest-first, the top three scores are 95, 88, 72 — printed as gold, silver, and bronze.
💡 need a hint?
sort-the-podium.py🔒 given lines are locked — write your code in between
loading...