Reverse the hearts top5
This commit is contained in:
parent
1b14528f45
commit
3f3a0d6f05
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ def find_operator(text):
|
|||
def top5():
|
||||
data = read_data()
|
||||
items = [(score, name) for name, score in data.items()]
|
||||
items.sort()
|
||||
items.sort(key=lambda item: item[0], reverse=True)
|
||||
out = ''
|
||||
for idx in range(5):
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue