Write a program that will read in the attached data file that contains the event information. Each tab separated line will contain in order: -A diver name -The DD -7 scores for the dive
Solve In Python Provide Screenshots of input and output
You have been asked by the Olympic committee to write a program for scoring the Olympic diving events.
In an Olympic diving event, each dive has a degree of difficulty (DD). The dives are evaluated by a panel of 7 judges who can award 0 to 10 points.
To determine an athlete's final score for a dive, the highest and lowest judges scores are discarded and then the average of the rest of the scores are calculated. The average is then multiplied by the DD, resulting in the final score for the dive.
Write a program that will read in the attached data file that contains the event information.
Each tab separated line will contain in order:
-A diver name
-The DD
-7 scores for the dive
Your program should parse this file and output the divers name, the dive DD, and the score for that dive.
REMEMBER to submit your source code, and a screenshot of your output.
The input file should be attached to this dropbox

Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images









