Hello helpful people of the internet!
I'm trying to write a file that allows me to calculate savings.
I wanted to be able to save a starting amount to a file (ideally txt or csv as I have some experience working with them) then run a program to add numbers to the saved number. For example if my starting value was 20 and I added 3 the new saved value should be 23 so when the program was run again values would be added to 23.
Nothing I've tried has word so far and I have only had error messages stating my file (containing only the number 20) was a string
Does anybody know how I can do this? Am I using the wrong types of file or is this impossible to do on python?