Copy over three new files in your week08 directory by running update21:
$ cd $ cd cs21/class/week08 $ update21
Name1 grade1 grade2 grade3 ... gradeN Name2 grade1 grade2 grade3 ... gradeNWe are going to write a function to read in each line into a list of values, the first element will be the name string, the subsequent ones will be the grades stored as int values:
["name string", grade1, grade2, ... grade N]and for each list is creates it will add it to the list of lists to produce a data structure that looks like the following:
------- gradebook---> | *---|-------> ["name1 string", grade1, grade2, ..., grade N] |-----| | *---|-------> ["name2 string", grade1, grade2, ..., grade N] |-----| | *---|-------> ["name3 string", grade1, grade2, ..., grade N] |-----| . . . |-----| | *---|-------> ["nameM string", grade1, grade2, ..., grade N] -------Then we will write some functions for doing something with this list of lists.