Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dictionary = {
- score_player_one : player_one,
- score_player_two : player_two,
- score_player_three : player_three
- sorted_dictionary = sorted(dictionary.items(), key = operator.itemgetter(0), reverse = True )
- print("The ranking is: " + str(sorted_dictionary))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement