Answered step by step
Verified Expert Solution
Link Copied!

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?
image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatio Temporal Database Management International Workshop Stdbm 99 Edinburgh Scotland September 10 11 1999 Proceedings Lncs 1678

Authors: Michael H. Bohlen ,Christian S. Jensen ,Michel O. Scholl

1999th Edition

3540664017, 978-3540664017

More Books

Students also viewed these Databases questions

Question

Find the ABCD parameters for the circuit in Fig. 19.100. 4

Answered: 1 week ago