number_to_guess = 67 print("I'm thinking of a number between 1 and 100.") while True: guess = int(input("Guess the number: ")) if guess < number_to_guess: print("Higher!") elif guess > number_to_guess: print("Lower!") else: print("You got it!") break