A particular talent competition has five judges, each of whom awards a score between 0 and 10 to each performer. Fractional scores, such as 8.3, are allowed. A performer’s final score is determined by dropping the highest and lowest score received, then averaging the three remaining scores. Write a program that uses this method to calculate a contestant’s score. The scores are entered in 5 entry boxes, your program will display a contestant’s score using a variable label on the window of your program (not a message box). Your program would show an error message (using a message box) if any score entered by the user is negative or greater than 10
Using Tkinter Library in Python:
A particular talent competition has five judges, each of whom awards a score between 0 and 10 to each performer. Fractional scores, such as 8.3, are allowed. A performer’s final score is determined by dropping the highest and lowest score received, then averaging the three remaining scores. Write a program that uses this method to calculate a contestant’s score. The scores are entered in 5 entry boxes, your program will display a contestant’s score using a variable label on the window of your program (not a message box). Your program would show an error message (using a message box) if any score entered by the user is negative or greater than 10.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 5 images