import random number = random.randint(1,200) print("I am thinking a number between 1 and 200") answer = int(input("What's the number?")) while answer != number: if answer > number: print("Too High") answer = int(input("What's the number?")) elif answer < number: print("Too low") answer = int(input("What's the number?")) else: print("Correct!")