Question: Python Practice (Selection/Repetition) In order to be allowed to compete in the end of season championship, an athlete must have achieved a winning record for
Python Practice (Selection/Repetition)
In order to be allowed to compete in the end of season championship, an athlete must have achieved a winning record for the season. This means that the athlete must have come in first, second, or third in each of the five season events and come in first in at least one of the five events. Write a program that will input the athletes name and his/her record in each of the five events (1st, 2nd, 3rd or DNQ) where DNQ means the athlete did not qualify in any of the top three positions in that event. Determine whether the athlete is eligible to compete in the championship and print the name of the athlete, whether eligible to compete, and giving the reason if the athlete is not eligible. For this problem, submit screen shots of your program code and your output. Check the logic of your code by - running the program so that the output is not eligible to compete and the reason is that the athlete did not finish first in at least one event; - running the program so that the output is not eligible to compete and the reason is that the athlete failed to qualify in at least one race.; - running the program so that the output is eligible to compete
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
