subject

You're a swimmer, and you want to compare all of your race times to find the fastest one. write a program that continuously takes race times as doubles from standard input, until the input is "no more races," at which point it should print out the time of your fastest race.
the following did not work:
print("enter race time in seconds")
race_time = int(input(" "))
print("or enter 'no more races'")
sentinel = int(input(" "))
while sentinel = 'no more races':
print(race_time)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 13:30
Spoons are designed to be used for: spring hammering. applying body filler. identifying high and low spots. sanding highly formed areas.
Answers: 3
question
Computers and Technology, 23.06.2019 20:50
3.11.3 quiz: comparing and analyzing function typesquestion 4 of 102 pointswhat can you say about the y-values of the two functions f(x) = 3x2-3 andg(x)=2* - 3?
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
Which boolean operator enables you to exclude a search term? a} not b} and c} or d} plus
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
Answers: 2
You know the right answer?
You're a swimmer, and you want to compare all of your race times to find the fastest one. write a pr...
Questions
question
Mathematics, 10.11.2020 04:50
question
Mathematics, 10.11.2020 04:50
question
Mathematics, 10.11.2020 04:50
question
Mathematics, 10.11.2020 04:50
Questions on the website: 13722367