
Suppose that a teacher maintains a file ‘list.csv’, which contains the information of students in an academic unit. The information for each student (i.e., each row of the csv file) includes the student’s ID, surname, given name, and the individual marks for weekly tasks, assignment 1 & assignment 2. The teacher has written a python program, namely record.py, which undertakes the following four major operations on the ‘list.csv’ file: “Add” function. By running the command “python record.py add