break and continue statement in python

technical talkiess
0

 i= 0

while(True):
    print("Enter the number")
    uinput = int(input())
    if(uinput < 100):
        print("You are enter less than 100 number\n")
        print("Please Try Again ! \n")
        continue
    else:
        print("Congratulation you are enter gretaer than 100")
        break
Tags

Post a Comment

0Comments

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

Post a Comment (0)