While loop quiz in python
# IF THE USER ENTER THE VALUE GREAATER THEN 100 PRINT CONGRATS YOU ENTER
# THE NUMBER GREATER THEN 100 OTHERWISE PRINT TRY AGAIN CONTINCUE THE
# PROGRAM TILL THE USER ENTER VALUE GREATER THEN 100
i = 0
while True:
x=input("please enter the number: ")
if int(x) > 100:
print("Congo finally you Enter the value greater then 100.....")
break
else:
print("Please Try again....")
i = i + 1
Comments
Post a Comment