Practice - while loop

Anonymous
plain_text
04/29/2022 5:04 PM
368 B
13
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")
        continue
Editor is loading...