import random print("KIA ORAY AND WELCOME TO THE HIGHER OR LOWER GAME") number = random.randint( 1, 100) choice = "y" while choice=="y": answer=int(input("pick a number from 1 - 100| ")) if answer < number : print("the number is higher") elif answer > number: print("the number is lower") else: print("GREAT JOB YOU ARE A WINNER") choice="n"