Question

How many times will the body of the following loop be run?
secret = input("Guess my secret: ")
while secret != "I am a superhero":
secret = input("Guess my secret: ")
print("Good guess")
Select one:

a.
1


b.
0


c.
It depends on the user's input


d.
Once for each character in "I am a superhero"

Answers

GPT 3.5
c. It depends on the user's input

Related Questions