Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions