Home / Expert Answers / Computer Science / submit-original-code-in-python-to-solve-the-problem-below-please-be-aware-that-copying-and-pastin-pa168

(Solved): SUBMIT original code in Python to solve the problem below. Please be aware that copying and pastin ...



SUBMIT original code in Python to solve the problem below.
Please be aware that copying and pasting code from any other sourc

SUBMIT original code in Python to solve the problem below. Please be aware that copying and pasting code from any other source other than code you have explicitly written on your own is considered plagiarism. If you receive help, that is fine (document help in the comments of your code) however you need to write your own code, name your own wariables, and comment your own code. Students turning in the exact same nork as another student will all be given zeros. Plagiarism is not toleruted, and students found to be plagiarizing will be given a zero and reported to the University with the possibility of termination of the class and degree program. 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. Write a program that will read the data file named "input.txt" attached to this drobbox that contains the event information. Each event file will contain an arbitrary number divers. Please assume the input file is in the same folder as your python program. 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 for each line, output the divers name, the dive , and the score for that dive with proper headers. To determine an athlete's final score for a dive, the highest and lowest judges scores are identified and discarded. The average of the remaining scores is calculated and is then multiplied by the DD, resulting in the final score for the dive. If there are multiple instances of the highest or lowest score, only one should be removed. The input file should be attached to this dropbox Save your program as Exam3.py and upload your source file to the appropriate dropbox in GradeScope, NOT D2LI Sammla lnnut File nata-


We have an Answer from Expert

View Expert Answer

Expert Answer



Here's a Python program...
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe