$ python3 ar.py Welcome to my academic records program! You can use this application to manage information about courses you've taken. Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 2 Enter a student user ID: lfontes1 lfontes1 took no classes. Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 1 Enter a file name: /usr/local/doc/academic-records/medium.txt Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 2 Enter a student user ID: ghope1 ghope1 took no classes. Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 2 Enter a student user ID: jbrody1 student course semester grade jbrody1 THEA32 S24 B+ jbrody1 MATH86 F24 A- jbrody1 PHYS51 S25 A- jbrody1 ASIA12 S21 D Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 2 Enter a student user ID: ckazer1 student course semester grade ckazer1 LALS196 F21 A+ ckazer1 LING194 F23 B ckazer1 MATH117 F23 A Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 4 Enter student user ID: ckazer1 Enter department: STAT Enter course number: 41 Enter the semester: S25 Enter the grade: Z Z is not a valid grade. please enter one of the following grades: A+, A, A-, B+, B, B-, C+, C, C-, D+, D, D- Enter the grade: A Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 2 Enter a student user ID: ckazer1 student course semester grade ckazer1 LALS196 F21 A+ ckazer1 LING194 F23 B ckazer1 MATH117 F23 A ckazer1 STAT41 S25 A Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 4 Enter student user ID: ckazer1 Enter department: STAT Enter course number: 51 Enter the semester: F25 Enter the grade: C- Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 2 Enter a student user ID: ckazer1 student course semester grade ckazer1 LALS196 F21 A+ ckazer1 LING194 F23 B ckazer1 MATH117 F23 A ckazer1 STAT41 S25 A ckazer1 STAT51 F25 C- Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 3 Enter a student user ID: ckazer1 Enter a department: CPSC ckazer1 took no CPSC classes. Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 3 Enter a student user ID: jbrody1 Enter a department: MATH student course semester grade jbrody1 MATH86 F24 A- Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 5 Enter a student user ID: asoni1 asoni1 took 3 courses. asoni1's GPA equals: 3.22 Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 1 Enter a file name: /usr/local/doc/academic-records/medium.txt Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 5 Enter a student user ID: ckazer1 ckazer1 took 3 courses. ckazer1's GPA equals: 3.67 Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 4 Enter student user ID: ckazer1 Enter department: STAT Enter course number: 51 Enter the semester: F25 Enter the grade: A- Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 5 Enter a student user ID: ckazer1 ckazer1 took 4 courses. ckazer1's GPA equals: 3.67 Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 4 Enter student user ID: ckazer1 Enter department: MATH Enter course number: 099 Enter the semester: F25 Enter the grade: C- Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 5 Enter a student user ID: ckazer1 ckazer1 took 5 courses. ckazer1's GPA equals: 3.27 Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 3 Enter a student user ID: ckazer1 Enter a department: STAT student course semester grade ckazer1 STAT51 F25 A- Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 4 Enter student user ID: ckazer1 Enter department: STAR Enter course number: 41 Enter the semester: S25 Enter the grade: A+ Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 3 Enter a student user ID: ckazer1 Enter a department: STAR student course semester grade ckazer1 STAR41 S25 A+ Here are your options: (0) Quit the program (1) Load records from a file (2) Display classes (3) Display classes from a single department (4) Add a Course (5) Compute GPA What do you want to do? 0