Question: Grade Report Using python Create the Grade Report Application. The application prints out a student grade report. There is a file, classes.txt, that contains the

Grade Report

Using python Create the Grade Report Application. The application prints out a student grade report. There is a file, classes.txt, that contains the names of all classes taught at a college:

classes.txt

CSC1

CSC2

MTH121

...

For each class, there is a file with student ID numbers and grades, such as:

CSC2.txt

11234 A-

12547 B

16753 B+

21886 C

...

The application asks for a student ID and prints out a grade report for that student, by searching all class files. Here is a sample report:

Student ID 11234

CSC1 A-

CSC2 A-

MTH121 B-

The program output should be formatted as shown in the Sample Run.

Note: To complete this assignment, you will need to use the classes.txt, CSC1.txt, CSC2.txt, and MTH121.txt files located in Project 5 folder on Blackboard. You will need to place the files in your projects solution folder (This is the folder that contains your *.py file).

Your application should work for any number of students and any number of classes.

SAMPLE RUN

Enter the student id: 11234

Student ID 11234

CSC1 A-

CSC2 A-

MTH121 B-

Enter the student id: 27181

Student ID 27181

MTH121 B

Enter the student id: 31415

Student ID 31415

CSC1 A+

MTH121 A

Enter the student id: 12547

Student ID 12547

CSC1 B+

CSC2 B

MTH121 B

Enter the student id: 16753

Student ID 16753

CSC2 B+

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!