I am adding names and scores into a file and was trying to figure out how to start a newline after writing data to the file. This is my code so far, but when I go on in the file, all of the variables are on the same line:
print "That's the game folks! You finished with a final score of...", points, 'points! Good game, you made the high score list! What is your name?'
name = raw_input()
w = open('Highscores', 'a')
w.write(name)
w.write(str(points))
w.close()