What I'm trying to do is create a function that saves the user's answer to a prompt and puts it into a .txt file.
I use sys to do this, but it failed to properly put the user's answer into the file. it deleted the user's answer from the .txt file to make a new space for the newest one.
are there any other modules that could help with my request?