Question: 3.12 Grade Statistics (Use Python 3) Write a python module school.py that prints school information (first 3 lines of output). Write a python script grades.py

3.12 Grade Statistics

(Use Python 3)

Write a python module "school.py" that prints school information (first 3 lines of output). Write a python script "grades.py" that does the following:

  • imports "school.py"
  • reads 5 midterm scores from the user into a list and then displays the list
  • reads 5 final scores from the user into a list and then displays the list
  • prints the number of students who took the midterm
  • prints the range of midterm scores
  • prints the average midterm score
  • prints the number of students who took the final
  • prints the range of final scores
  • prints the average final score

Output should look like the following:

University of Montana 32 Campus Drive Missoula, Montana 59801 CSCI 135 MIDTERM SCORES: Enter 1st midterm score: 70 Enter 2nd midterm score: 80 Enter 3rd midterm score: 90 Enter 4th midterm score: 80 Enter 5th midterm score: 80 [70, 80, 90, 80, 80] FINAL SCORES: Enter 1st final score: 75 Enter 2nd final score: 85 Enter 3rd final score: 95 Enter 4th final score: 85 Enter 5th final score: 75 [75, 85, 95, 85, 75] 5 students took the midterm. Midterm scores ranged from 70 to 90 Average midterm: 80.0 5 students took the final. Final scores ranged from 75 to 95 Average final: 83.0

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!