4 Respuestas
+ 5
If you need to have access to values at each time a programm is executed, you can store the desired values in a json file or may be in simple text files, or if you like, you can also use a local database like sqlite.
+ 2
You can save the data in a file, or in a database. The easiest database is sqlite3 which is already built into standard python.
These methods will work on your conputer but SoloLearn cannot keep any data between sessions, unless you send it to an external (remote) database.
0
The function returns a string that can be assigned to a variable.
The value of the variable can be changed .