import random score = 0 number = random.randint(1, 100) answer = 0 while answer != number: answer=input("Guess The Number") if answer >number: print("Lower!") else: print("higher!")