Question: Hello, I need my program in Python code and to open and read from the file StudyHours.txt which you have to make but should look
Hello, I need my program in Python code and to open and read from the file StudyHours.txt which you have to make but should look like this :
Aaron RODgers
12
A
Tom brady
9
K
philip Rivers
apple
c
Joe Theismann
15
B
the program then determines the total weekly study hours (if we assume the same for all classes.) This is the data to determine the grade to study hour ratio:
StudyHours-15 Grade-A
StudyHours-12 Grade-B
StudyHours-9 Grade-C
StudyHours-6 Grade-D
StudyHours-0 F
We assume each class is 3 credits, you cannot go over 18 credits. The program must display the data in proper case. All user input must be validated. After the program determines the study hours per person, we need the program to write the updated data to HowManyHours.txt. The data to write to HowManyHours.txt should look like this after the program has determined the weekly study hours determined by the grade data, it should look like this:
Full Name:Joe Thiesman
Credits:12
Study Hours: 36
Grade: A
Please and thank you so much
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
