Practice - while loop
unknown
plain_text
4 years ago
276 B
6
Indexable
secretNumber = 23
guessedNumber = int(input("Guess a number: "))
while guessedNumber == 23:
print("You guessed right. Nice job!")
else:
if (guessedNumber != 23):
print("You guessed wrong. You shame your family and all your ancestors")
continueEditor is loading...