Hey there! I'm doing this 10 question quiz where I have to keep track of the score and then if the user scored the highest I have to ask for his name and save his name and score to a textfile called hscore.txt where the highest score is at the top. It's sort of like a video game in an arcade. Anyway, I can get the quiz part and how to keep track, but how do I save his name and score to a textfile with the highest score on the top? If someone could help me that would be great!! Thanks in advance.