我试图将我的排行榜排在前5名,但我还是很困]]

问题描述 投票:0回答:1

this is what I have so far, I still need to sort it because right now it lists them in order of the last winner of the previous game

这是到目前为止,我仍然需要对它进行排序,因为现在它按上一个游戏的最后一个获胜者的顺序列出了它们

python leaderboard
1个回答
0
投票

假设点是整数,我对排行榜进行排序,然后打印出前五个用户,则可以将打印功能更改为不以键值格式打印。

© www.soinside.com 2019 - 2024. All rights reserved.