Let's say I have the following tuple (python):
scores = {'player1':200,'player2':300,'player3':150}
The reason I have one tuple and not a list of tuples is so that I can update the scores very easily, i.e.
scores['player1'] += 50
How can I get the player that scored the highest? Or sort the players by their scores:
[player2, player1, player3]
Thanks.