highscore.txt
16
23
17
15
60
40
13
Here's what I have
Top_Score = open("highscore.txt", "r+")
for line in Top_Score.readlines():
print(line)
Top_Score.close()
Preferably prints only the top 5 smallest numbers. Any help would be appreciated.
Sample Output
13
15
16
17
23
40
60