How to save data in lists


#1

i am creating a maths test for my students and would like to save there most recent 3 results as a list however i am unsure how to do so


#3

@evan321 ,

You should save your students' data in a text file, and use Python to open the file, read the data using a loop, process the data, and save the processed data in another file. Have you completed the Python File Input/Output course yet? That material will be important to you. If you have done that, we can provide some example data and code for you.