Question: 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

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 variables, and comment your own code. Students turning in the exact same work as another student will all be given zeros. Plagiarism is not tolerated, 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 DD, and the score for that dive with proper headers. To determine an athletes 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 D2L! Sample Input File Data: Bob Smith 1 Bob Smith 57.50.58.56.52.58.09.50.55.55.50.59.510.06.5 Paul Phillips 32.52.08.09.04.57.05.5 Paul Phillips 16.01.52.54.01.010.08.5 Molly Brown 19.05.01.59.04.00.08.0 Molly Brown 24.54.50.53.01.50.51.0 Sample Output Example: Name DD Score Bob Smith 1.06.6 Bob Smith 5.027.5 Paul Phillips 3.016.5 Paul Phillips 1.04.5 Molly Brown 1.05.5 Molly Brown 2.04.2 REMEMBER - Include the comment heading at the top of your code. # Program Name: Exam3.py (use the name the program is saved as) # Course: IT1114/Section BWB# Student Name: Sean Nixs # Assignment Number: EXAM3 # Due Date: 12/08/2024 # Purpose: What does the program do (in a few sentences)? # List specific resources used to complete the assignment. - Place comments within your code explaining the programming segments

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!