Question: Python Exercise: We wish to write a program to quickly calculate gymnastics scores for an international competition. The program should have a loop to ask

Python Exercise:

We wish to write a program to quickly

calculate gymnastics scores for an international competition. The

program should have a loop to ask the user for the scores from each of the six judges, numbered 1

through 6 for anonymity. Your program should add each score to a sum inside the loop, then calculate

and display the average score after the loop is finished. Scores are in the range 0 to 10 with one decimal

place, such as 8.5. The average should be displayed with two decimal places.

Here is a sample of the output:

Score for Judge 1: 8.5

Score for Judge 2: 8.7

Score for Judge 3: 8.4

Score for Judge 4: 9.1

Score for Judge 5: 8.9

Score for Judge 6: 9.0

The average score is: 8.77

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