import random num = random.randint(1, 100) guess = "never gonna give u up" print("im thinking of a number...") print(" ") while guess != num : guess = int(input("guess a number!: ")) if guess == num : print("you got it!") else : if guess < num : print("higher!") print (" ") else : print ("lower!") print (" ")