I am trying to make a program which asks how many points each player gets and then outputs the total score, but each time after new points are written i have to change beginning of code because there is new total score. I think that i should make program to write points to txt and next time the program loads, to read points from txt file, but i dont know how to do it. Can anyone help me with it?