import random numb = random.randint(1,100) numb1 = 0 while numb1 != numb: numb1 = int(input("Guess The Number ")) if numb1 == numb: print("Correct") if numb1 > numb: print("Lower") if numb1 < numb: print("higher")