subject

Highlight the line that stops this from being an infinite loop. (Highlight one entire line.) secret = 45
choice = ""
while True:
choice = input("Choose a number (or type 'end'). ")
if choice == "end":
break
elif int(choice) > secret:
print("Your guess was too high!")
elif int(choice) < secret:
print("Your guess was too low!")
elif int(choice) == secret:
print("You got it! Picking a new number...")
secret = random. randint(1, 100)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:00
How are stop motion special effects in animated films created
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
Column a of irma’s spreadsheet contains titles for each row, but her document is too big and will be printed three pages across. she wants to be sure that every page will be understood. what can irma do to with this problem?
Answers: 3
question
Computers and Technology, 23.06.2019 21:40
Draw the resistor’s voltage and current phasors at t=15ms. draw the vectors with their tails at the origin. the orientation of your vectors will be graded. the exact length of your vectors will not be graded.
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
What is the process in which the software development team compiles information to determine the final product
Answers: 1
You know the right answer?
Highlight the line that stops this from being an infinite loop. (Highlight one entire line.) secret...
Questions
question
Mathematics, 23.02.2021 22:20
question
Mathematics, 23.02.2021 22:20
question
Mathematics, 23.02.2021 22:20
question
History, 23.02.2021 22:20
question
Mathematics, 23.02.2021 22:20
Questions on the website: 13722359