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 $25.00 for any average scores equal or under the current school average.
Each student will win a cash prize of $100.00 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 $100.00.
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 $25.00.
Output Sample:
Enter the average score for the school: 50.0
How many students are entering scores: 5
Student 1: 43.0
Student 2: 64.0
Student 3: 31.0
Student 4: 75.0
Student 5: 80.0
Good job student 1 you need 7 points to meet the average score and have earned $25.00.
Congratulations student 2 you have 14 points above the average score and have earned $100.00.
Good job student 3 you need 19 points to meet the average score and have earned $25.00.
Congratulations student 4 you have 25 points above the average score and have earned $100.00.
Congratulations student 5 you have 30 points above the average score and have earned $100.00.

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 Programming Questions!