+ 2

How can programs store input for later use?

How can a program append to a list within it and actually change the list. Not only for that run... https://code.sololearn.com/cqj0VG0Y4Vrx/?ref=app https://code.sololearn.com/cqj0VG0Y4Vrx/?ref=app

17th Jun 2018, 10:04 PM
King Dave
King Dave - avatar
5 odpowiedzi
+ 1
You would have to store the data (list) in a file and then make a read and write system
17th Jun 2018, 10:56 PM
TurtleShell
TurtleShell - avatar
18th Jun 2018, 1:37 PM
Sahil Danayak
Sahil Danayak - avatar
+ 1
can't do that on code playground
18th Jun 2018, 4:00 PM
Sahil Danayak
Sahil Danayak - avatar
0
Can you write an example?
18th Jun 2018, 5:55 AM
King Dave
King Dave - avatar
0
Sahil Danayak It won't really change the list in the code, it will only change it for that run
18th Jun 2018, 3:44 PM
King Dave
King Dave - avatar