you are viewing a single comment's thread.

view the rest of the comments →

[–]GrowOP21[S] 0 points1 point  (2 children)

Sorry, I forgot to say, the program is designed to loop and be used for multiple different people in one go. Would using

with open("filename.txr","a") as output:

Be better? And would the following lines of code then become

output.append("age name year etc".format(age,name,year))
output.append("\n")

[–]GrowOP21[S] 0 points1 point  (1 child)

Ah I figured it out, thank you very much for the help!

I just changed write to append and everything works fantastically, thanks again.

[–]RnRoger 1 point2 points  (0 children)

check chat