import random int1=random.randint(1,100) num1 = 0 print( " im thinkning of a number... ") while num1 != int1: num1 = int(input( "Guess a number " )) if num1 < int1 : print("Higher! " ) elif num1 > int1 : print( "Lower! ") elif num1 == int1 : print("You got it ")