yes, the function tamagotchi.save("tamagotchi.txt") saves the last state and tamagotchi.load("tamagotchi.txt") loads it when you run again, also you can edit some files to fit
Ok so how do I open the game?
require python, open a terminal or cmd find the folder and run command write "python main.py" or "python3 main. py"
Ok I've got this
>>> python main.py
File "<stdin>", line 1
python main.py
^^^^
SyntaxError: invalid syntax
python3 main. py is the same
Seem as you try run direct on interpreter, check this video :