Creating a leaderboard in python : i currently had no idea how to create a leaderboard using python. I have a txt file which looks like this:
a 100
c 50
d 700
b 5
I want to sort the leaderboard by score so the output should be like this:
b 5
c 50
a 100
d 700
Is it possible to do it with python?