Question: I need a program in Python code to pull data from a file called HowManyHours.txt(this is the end of program and this file has been

I need a program in Python code to pull data from a file called HowManyHours.txt(this is the end of program and this file has been appended to many times before this.) The data looks like this and there are 10 sets of data hypothetically, but they should all look like this:

Full Name: Aaron Rodgers

Credits: 12

Study Hours:60

Grade: A

Full Name:Joe Mixon

Credits:3

Study Hours: 15

Grade: A

Full Name:Philip Rivers

Credits:9

Study Hours:36

Grade:B

Full Name: Tyreek Hill

Credits: 15

Study Hours: 60

Grade:B

Again, this howmanyhours.txt file will have 20 sets of data that look like the above. each class is 3 credits, and we assume the same for each class. We must multiply the study hours by 5 to get the total study hours, 5 days in a week. The program reads in data from HowManyHours.txt, displays a report header with the report creators name, employee id, and department and who they created the report for. The body of the report displays the total number of students who used the program, the average credits taken, and the average study hours. In the following format STUDY HOURS REPORT

Created for Dr. Payne, A004567893

Dept: Computer Science

Created By: Karen Smith, A00494928

Dept: Advising

Total Students: 3

Average Credits: 9.00

Average Study Hours: 20.00

PLEASE and thank you so much

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!