import random num = random.randint(1, 100) print("im thinking of a number... ") guess = int(input("Guess the number " )) while guess != num : if guess > num : print("lower!") guess = int(input("Guess the number " )) else : print("Higher!") guess = int(input("Guess the number " )) if guess == num : print("CORRECT!")