import random print("I'm thinking of a number...") correct = random.randint(1, 100) guess = int(input("Guess the number: ")) while guess != correct : if guess>correct : print("Lower!") guess = int(input("Guess the number: ")) if guess