Create a script in python that executes the following:
At certain Olympic events, there are 5 judges. To determine anathlete’s final score for the event, the highest and lowest judges’scores are discarded and then the average of the rest of the scoresis calculated. Assume that the array ‘Scores’ contains the judges’scores. Write a function that accepts as an argument a list ofscores and returns the athlete’s final score. (Hint: Add up all thescores in the array. Find the highest and lowest scores andsubtract them out.
Divide sum by len(Scores) – 2 and return as the average.)
Expert Answer
An answer will
PayPal Gateway not configured
PayPal Gateway not configured