Question: Using following data (put in a file: infile.txt) calculate and output as in output section. (with python) Input (from infile.txt): Hopper, Grace 100 98 87

Using following data (put in a file: infile.txt) calculate and output as in output section. (with python)

Input (from infile.txt):

Hopper, Grace 100 98 87 97 Knuth, Donald 82 87 92 81 Goldberg, Adele 94 96 90 91 Kernighan, Brian 89 74 89 77 Liskov, Barbara 87 97 81 85

Output:

Name Exam1 Exam2 Exam3 Exam4 Mean

Goldberg, Adele 94 96 90 91 92.75

Hopper, Grace 100 98 87 97 95.50

Kernighan, Brian 89 74 89 77 82.25

Knuth, Donald 82 87 92 81 85.50

Liskov, Barbara 87 97 81 85 87.50

Exam Mean 90.4 90.4 87.8 86.2

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!