
Implement leaderboard, which returns player names ranked by score, highest first, with ties settled by name.
leaderboard([("mira", 12), ("otto", 30), ("ines", 12)])['otto', 'ines', 'mira']leaderboard([("Bo", -1), ("al", -1), ("cy", 0)])['cy', 'Bo', 'al']leaderboard([])[]leaderboard.py
Run the tests to grade your code
Implement leaderboard, which returns player names ranked by score, highest first, with ties settled by name.
leaderboard([("mira", 12), ("otto", 30), ("ines", 12)])['otto', 'ines', 'mira']leaderboard([("Bo", -1), ("al", -1), ("cy", 0)])['cy', 'Bo', 'al']leaderboard([])[]leaderboard.py
Run the tests to grade your code
Variables will appear here