Question: Help with Python Gymanstics Problem? Pictures of the question and its parts are below. I know its a lot, but I am just very lost

Help with Python "Gymanstics" Problem?

Pictures of the question and its parts are below. I know its a lot, but I am just very lost and have no idea how to approach it. I would appreciate help with any, if all parts of the question. Ty!Help with Python "Gymanstics" Problem? Pictures of the question and its partsare below. I know its a lot, but I am just verylost and have no idea how to approach it. I would appreciatehelp with any, if all parts of the question. Ty! 2. (90

2. (90 points) PROBLEM STATEMENT: The final phase of a national gymnastics competition has 100 athletes competing for the national championship. The voting system is the usual one: 8 judges give scores after each contestant's performance. Scores are numbers from 0 to 10 and do not have to be integers (8.25 is a perfectly acceptable score) The highest and lowest scores are discarded. The remaining 6 scores are summed and their total is the assigned final score for the contestant. The contestants with the three highest assigned final scores win the gold, silver, and bronze medal respectively. The 8 initial scores of the judges for each contestant have been tallied in a file but unfortunately the person who entered the data made a few errors and you will have to clean the file. We want a program that reads the scores file, computes the assigned final scores of all participants, can provide the score info upon demand, figures out who the medalists are and provides that info on demand, and, on demand, produces a file with the final valid scores sorted in descending order. Here is what you should do in detail a. Write a function called cleanData that: i. Takes two parameters: the path of the file with the initial scores and the path of a file where to write the cleaned up scores. You will have to test this function using the provided files initialList.txt, initialList2.txt, and initialLIst3.txt (posted on D2L inside the Assignment 6 zipped folder where you found this document) as input scores, but your function must be written so that ANY file could be passed as input. You can assume that the original 2. (90 points) PROBLEM STATEMENT: The final phase of a national gymnastics competition has 100 athletes competing for the national championship. The voting system is the usual one: 8 judges give scores after each contestant's performance. Scores are numbers from 0 to 10 and do not have to be integers (8.25 is a perfectly acceptable score) The highest and lowest scores are discarded. The remaining 6 scores are summed and their total is the assigned final score for the contestant. The contestants with the three highest assigned final scores win the gold, silver, and bronze medal respectively. The 8 initial scores of the judges for each contestant have been tallied in a file but unfortunately the person who entered the data made a few errors and you will have to clean the file. We want a program that reads the scores file, computes the assigned final scores of all participants, can provide the score info upon demand, figures out who the medalists are and provides that info on demand, and, on demand, produces a file with the final valid scores sorted in descending order. Here is what you should do in detail a. Write a function called cleanData that: i. Takes two parameters: the path of the file with the initial scores and the path of a file where to write the cleaned up scores. You will have to test this function using the provided files initialList.txt, initialList2.txt, and initialLIst3.txt (posted on D2L inside the Assignment 6 zipped folder where you found this document) as input scores, but your function must be written so that ANY file could be passed as input. You can assume that the original

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!