Guess the number using python

technical talkiess
0

 n =18

while(1):
    print("Please Enter the number")
    user_input = int(input())
    if(user_input > n):
        print("Number is greater")
        continue
    elif(user_input < n):
        print("Number is lesser")
        continue
    elif(user_input == n):
        print("You Guess Right Number")
        break
Tags

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)