So in my menu for my game I want to be able to print out the high scores from a .txt file line by line, but with my current code it just adds all the scores to one line could someone please help?, I am using Livewires and Pygame.
def highscores(self):
sf = open('highscore.txt', 'r')
highscores = sf.readlines()
sf.close()
thescores = games.Text(value = highscores, size = 32, color = color.green,
top = 130, right = 320)
games.screen.add(thescores)