$ 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.


(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: xqu1

xqu1 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    S20       B+
jbrody1   MATH86    F20       A-
jbrody1   PHYS51    S21       A-
jbrody1   ASIA12    S17       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   F17       A+
ckazer1   LING194   F19       B
ckazer1   MATH117   F19       A
ckazer1   LATN102   S20       NC


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: S21
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   F17       A+
ckazer1   LING194   F19       B
ckazer1   MATH117   F19       A
ckazer1   LATN102   S20       NC
ckazer1   STAT41    S21       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: F21
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   F17       A+
ckazer1   LING194   F19       B
ckazer1   MATH117   F19       A
ckazer1   LATN102   S20       NC
ckazer1   STAT41    S21       A
ckazer1   STAT51    F21       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: STAT

student   course    semester  grade
ckazer1   STAT41    S21       A
ckazer1   STAT51    F21       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 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    F20       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 5 courses.

asoni1's GPA equals: 1.93


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 4 courses.

ckazer1's GPA equals: 2.75


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: F21
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 5 courses.

ckazer1's GPA equals: 2.93


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: 51
Enter the semester: F21
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   STAR51    F21       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
Thanks for using my academic records program!