$ 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? 8 8 is not in range. Please try again. What do you want to do? -1 -1 is not in range. Please try again. What do you want to do? 1 Enter a file name: /usr/local/doc/academic-records/small.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: zpalmer2 student course semester grade zpalmer2 ASIA58 F23 B+ zpalmer2 JPNS141 S24 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: zpalmer2 Enter a department: JPNS student course semester grade zpalmer2 JPNS141 S24 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: zpalmer2 Enter a department: CPSC zpalmer2 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: zpalmer2 Enter a department: NOOB zpalmer2 took no NOOB 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? 5 Enter a student user ID: zpalmer2 zpalmer2 took 2 courses. zpalmer2's GPA equals: 2.83 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: zpalmer2 Enter department: CPSC Enter course number: 41 Enter the semester: F25 Enter the grade: NC NC 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: 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: zplamer2 zplamer2 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: zpalmer2 student course semester grade zpalmer2 ASIA58 F23 B+ zpalmer2 JPNS141 S24 C+ zpalmer2 CPSC41 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? 5 Enter a student user ID: zpalmer2 zpalmer2 took 3 courses. zpalmer2'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? 0 Thanks for using my academic records program!