Question: Python program: Write the following functions to process the content read from the file. a. Class average b. Pass rate (total number of students who

Python program:

Write the following functions to process the content read from the file.

a. Class average

b. Pass rate (total number of students who passed divided by the total number of students)

c. Highest score and Lowest Score

d. Count of A grades (above 90%), B grades (above 80%), C grades (above 60%), D grades (above 50%), and F grades (below 50%)

And then test each of the above functions. Display all the results from the function calls where each students grades are printed and also the class report is printed. Sample input file content:

scores.txt

Naji Hasan 90 85 87

Lisa Smith 80 67 70

Andy Malik 75 80 52

Ravi Gupta 90 95 98

Dave Blair 50 61 70

Sara Clark 70 65 81

Sami Moosa 55 50 71

Imed Radhi 90 83 89

Kira Sunny 65 70 69

Hind Ahmed 70 81 88

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!