Python Quiz 4 ---
Python Quiz 4 ---
Q- Write down a program, which will take input from users, until the number is greater than 100, if the number is greater than 100; it will print 'Congratulations', else the loops has to continue by printing 'Try Again' """
CODE
while (1):
num = int(input("Type your Number \n"))
if num>100:
print("Congratulations")
break
else:
print("Try Again \n")
continue
Comments
Post a Comment