# File: ChapterLists/sequences.py """ A List of Lists Ann Class of 2020 Majors: [2020, 'CS', 'CJ'] Ben Class of 2018 Majors: [2018, 'CJ'] Dan Class of 2019 Majors: [2019, 'MATH', 'WEB'] """" def main(): # index 0 1 2 3 stud1 = [ "Ann", 2020, "CS", "CJ" ] stud2 = [ "Ben", 2018, "CJ" ] stud3 = [ "Dan", 2019, "MATH", "WEB" ] Lstud =[stud1, stud2, stud3 ] for s in Lstud: print(s[0], "Class of", s[1], "Majors: ",) print(s[1:]) main()