How can i make python to remember something | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i make python to remember something

4th May 2018, 10:37 PM
Obinna Wilson
Obinna Wilson - avatar
3 Answers
+ 12
Do you mean so Python remembers inputs after you close the program? You'll learn about that when you get to the lessons on files. You will have to write programs that use files on a computer, though, because SoloLearn doesn't save your files. If you want to look ahead: https://www.sololearn.com/learn/Python/2445/ https://www.sololearn.com/learn/Python/2446/ https://www.sololearn.com/learn/Python/2447/ https://www.sololearn.com/learn/Python/2448/
4th May 2018, 10:49 PM
Tamra
Tamra - avatar
+ 12
By the way, welcome to SoloLearn's Q&A, Obinna! ^_^ Glad to have you here! These threads contain our general content creation guidelines. Have a look: https://www.sololearn.com/discuss/321242/?ref=app https://www.sololearn.com/Discuss/593497/?ref=app https://www.sololearn.com/Discuss/333866/?ref=app
4th May 2018, 10:52 PM
Tamra
Tamra - avatar
+ 6
You can also use sqlite3. Look up a few how-to videos on YouTube on using it in Python. It's pretty simple. We might have a lesson here for it as well but I'm not sure.
6th May 2018, 7:59 PM
Fox
Fox - avatar