import random guess = False print("in thinking of a number from 1-100....") number = random.randint(1,100) while guess == False : humantrickary = int(input("Guess A Number:")) if humantrickary < number : print("Higher") if humantrickary > number : print("Lower") if humantrickary == number : guess = True print("you got it!")