$ 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) Display classes
(2) Display classes from a single department
(3) Add a Course
(4) Compute GPA
(5) Load records from a file
What do you want to do? 1
Enter a student user ID: lmeeden1

lmeeden1 took no courses.


Here are your options:
(0) Quit the program
(1) Display classes
(2) Display classes from a single department
(3) Add a Course
(4) Compute GPA
(5) Load records from a file
What do you want to do? 3
Enter student user ID: cgarrod1
Enter department: CPSC
Enter course number: 35
Enter the semester: F16
Enter the grade: B


Here are your options:
(0) Quit the program
(1) Display classes
(2) Display classes from a single department
(3) Add a Course
(4) Compute GPA
(5) Load records from a file
What do you want to do? 1
Enter a student user ID: cgarrod1

student   course    semester  grade
cgarrod1  CPSC35    F16       B


Here are your options:
(0) Quit the program
(1) Display classes
(2) Display classes from a single department
(3) Add a Course
(4) Compute GPA
(5) Load records from a file
What do you want to do? 5
Enter a file name: large.txt


Here are your options:
(0) Quit the program
(1) Display classes
(2) Display classes from a single department
(3) Add a Course
(4) Compute GPA
(5) Load records from a file
What do you want to do? 1
Enter a student user ID: cgarrod1

cgarrod1 took no courses.


Here are your options:
(0) Quit the program
(1) Display classes
(2) Display classes from a single department
(3) Add a Course
(4) Compute GPA
(5) Load records from a file
What do you want to do? 1
Enter a student user ID: lmeeden1

student   course    semester  grade
lmeeden1  GMST29    S19       B
lmeeden1  RELG20    F18       B-
lmeeden1  LATN150   F17       D+
lmeeden1  RELG116   F17       A-
lmeeden1  ASIA144   S19       B+
lmeeden1  ARTT130   F16       D-
lmeeden1  CLST78    S16       A-
lmeeden1  CHEM23    S19       B-
lmeeden1  ANCH67    S17       D+
lmeeden1  PSYCH97   F15       A-
lmeeden1  CPLT62    S16       B-
lmeeden1  PHED185   S19       D+
lmeeden1  THEA165   S19       C-
lmeeden1  RELG114   F17       B+
lmeeden1  SOCI159   F17       C-
lmeeden1  COGS193   S16       C-
lmeeden1  SOAN144   F15       B
lmeeden1  ENVS39    S17       A
lmeeden1  ENGR165   F18       B+
lmeeden1  THEA146   S18       A
lmeeden1  MATH50    F16       A-
lmeeden1  CHEM171   F15       B
lmeeden1  ARTH198   S19       C-
lmeeden1  POLS53    S18       D-
lmeeden1  ENGR70    S19       B+
lmeeden1  ARTT16    F16       B+
lmeeden1  PHED6     S16       B
lmeeden1  SPAN82    S16       A-
lmeeden1  THEA182   S16       C+
lmeeden1  CLST51    F18       B+
lmeeden1  SPAN195   S19       B+
lmeeden1  STAT47    S17       A-
lmeeden1  COGS90    S16       B-
lmeeden1  ARTT121   F17       A-
lmeeden1  PHED55    S18       A-
lmeeden1  POLS91    F18       B+
lmeeden1  THEA116   F16       A
lmeeden1  GREK157   F15       A
lmeeden1  BUSI160   F18       C
lmeeden1  CLST24    F16       D-
lmeeden1  PHYS67    S16       B-
lmeeden1  LING161   S17       B-
lmeeden1  JPNS196   F16       A-
lmeeden1  CHIN58    F17       B
lmeeden1  CHEM81    F18       A-
lmeeden1  PHIL76    S19       D-
lmeeden1  MATH32    F16       B
lmeeden1  PHYS156   S17       B+
lmeeden1  BIOL42    F15       C+
lmeeden1  MATH84    S17       A-
lmeeden1  LATN17    F16       A
lmeeden1  ECON100   S18       A+
lmeeden1  PHYS38    F17       B-


Here are your options:
(0) Quit the program
(1) Display classes
(2) Display classes from a single department
(3) Add a Course
(4) Compute GPA
(5) Load records from a file
What do you want to do? 4
Enter a student: lmeeden1

lmeeden1 took 53 courses.

lmeeden1's GPA equals: 2.85


Here are your options:
(0) Quit the program
(1) Display classes
(2) Display classes from a single department
(3) Add a Course
(4) Compute GPA
(5) Load records from a file
What do you want to do? 2
Enter a student user ID: lmeeden1
Enter a department: MATH

student   course    semester  grade
lmeeden1  MATH50    F16       A-
lmeeden1  MATH32    F16       B
lmeeden1  MATH84    S17       A-


Here are your options:
(0) Quit the program
(1) Display classes
(2) Display classes from a single department
(3) Add a Course
(4) Compute GPA
(5) Load records from a file
What do you want to do? 3
Enter student user ID: lmeeden1
Enter department: MATH
Enter course number: 27
Enter the semester: F17
Enter the grade: A+


Here are your options:
(0) Quit the program
(1) Display classes
(2) Display classes from a single department
(3) Add a Course
(4) Compute GPA
(5) Load records from a file
What do you want to do? 4
Enter a student: lmeeden1

lmeeden1 took 54 courses.

lmeeden1's GPA equals: 2.87


Here are your options:
(0) Quit the program
(1) Display classes
(2) Display classes from a single department
(3) Add a Course
(4) Compute GPA
(5) Load records from a file
What do you want to do? 2
Enter a student user ID: lmeeden1
Enter a department: MATH

student   course    semester  grade
lmeeden1  MATH50    F16       A-
lmeeden1  MATH32    F16       B
lmeeden1  MATH84    S17       A-
lmeeden1  MATH27    F17       A+


Here are your options:
(0) Quit the program
(1) Display classes
(2) Display classes from a single department
(3) Add a Course
(4) Compute GPA
(5) Load records from a file
What do you want to do? 0
Thanks for using my academic records program!
phoenix[lab07]$