SHARE
TWEET

Untitled

a guest Jun 20th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def ranking_people():
  2.     dictionary = {
  3.         score_player_one : player_one,
  4.         score_player_two : player_two,
  5.         score_player_three : player_three
  6. }
  7.     sorted_dictionary = sorted(dictionary.items(), key = operator.itemgetter(0), reverse = True )
  8.     print("The ranking is: " + str(sorted_dictionary))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top