Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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
please use simple python code.
there's python code I have not learned yet.
please explain some of the steps

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

Students also viewed these Databases questions

Question

What is its MVA (MVA = total corporate value total book value)?

Answered: 1 week ago

Question

Derive expressions for the rates of forward and reverse reactions?

Answered: 1 week ago

Question

Write an expression for half-life and explain it with a diagram.

Answered: 1 week ago

Question

What do you mean by underwriting of shares ?

Answered: 1 week ago

Question

Define "Rights Issue".

Answered: 1 week ago

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago