Commit 932a7a51 authored by Samarth Joshi's avatar Samarth Joshi
parents d9980a5f f3a19c48
......@@ -27,9 +27,8 @@ for i in input:
matches[matchInfo[0]]=currentMatchDetails
players=sorted(players.items() , key=lambda x: x[0],reverse=True )
players=dict(players)
players=sorted(players.items() , key=lambda x: x[1],reverse=True )
players=sorted(players.items() , key=lambda x: (x[1],x[0]),reverse=True )
print(matches)
print(players)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment