Question: Python Script A class of students are receiving their report card and showing their grades to their principal. The principal is trying to motivate the
Python Script
A class of students are receiving their report card and showing their grades to their principal.
The principal is trying to motivate the students to bring up their average test scores for the school.
Each student will win a cash prize of $ for any average scores equal or under the current school average.
Each student will win a cash prize of $ for any average scores over the current school average.
Enter an average score for the school.
Ask for how many students are entering their scores.
Ask the student to enter their average score.
For any student entering a score above average tell them congratulations and inform them how many points above average they achieved and say they won $
For any student entering a score below the average tell them good job how many points they are missing to meet the average score and say they won $
Output Sample:
Enter the average score for the school:
How many students are entering scores:
Student :
Student :
Student :
Student :
Student :
Good job student you need points to meet the average score and have earned $
Congratulations student you have points above the average score and have earned $
Good job student you need points to meet the average score and have earned $
Congratulations student you have points above the average score and have earned $
Congratulations student you have points above the average score and have earned $
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
