Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need help with trying to start this project? Create a Python program that prompts a user to enter the names and finish times of
I need help with trying to start this project?
Create a Python program that prompts a user to enter the names and finish times of three competitors in a race. Based on the finish times, your program will then determine and print who won the gold, silver, and bronze medals. Your program should reject any entered times less than or equal to zero by continuing to prompt for new input until a valid time has been entered. Sample Input/Output Please enter the name of runner #1: Adam Please enter Adam's finish time (in minutes): 27 Please enter the name of runner 12: Beth Please enter Beth's finish time (in minutes): -5 Invalid time entry. Try again. Please enter Beth's finish time (in minutes): 0 Invalid time entry. Try again. Please enter Beth's finish time in minutes) : 30 Please enter the name of runner #3: Carol Please enter Carol's finish time (in minutes): 25 Gold Medal Winner: Carol Silver Medal Winner: Adam Bronze Modal Winner: Both Be sure to use comments to document your code You may not use Lists or other sequential data types and structures. You do not need to account for ties Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started