import random print("Hello And Welcome To The Higher Or Lower Game") print("I Am Thinking Of A Number And You Have To Try And Guess It. If you Fail to Guess It I will Tell You If The Number Is Higher Or Lower") 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"