subject

What will these loops do in python? answer = “”
while answer != “yes”:
answer = input(“Do you want to go fishing?”)

answer = 0
while answer != 8:
answer = int(input(“What is 2x4?”))
if answer == 8:
print(“Correct!”)
else:
print(“Try again”)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 02:20
Peter is thinking of a number which isless than 50. the number has 9 factors.when he adds 4 to the number, itbecomes a multiple of 5. what is thenumber he is thinking of ?
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Type the correct answer in the box. spell all words correctly. what is the default margin width on all four sides of a document? by default, the document has a margin on all four sides.
Answers: 1
question
Computers and Technology, 24.06.2019 20:20
Write python code that prompts the user to enter his or her age and assigns the user’s input to an integer variable named age.
Answers: 1
question
Computers and Technology, 25.06.2019 10:50
Write a program to convert a person’s height in inches into centimetres and their weight in stones into kilograms. (1 inch = 2.54 cm and 1 stone = 6.364 kg) i need .
Answers: 1
You know the right answer?
What will these loops do in python? answer = “”
while answer != “yes”:
answer = input(“...
Questions
question
Mathematics, 01.10.2019 03:00
Questions on the website: 13722362