Break and continue


'''
Created on May 20, 2021

@author: Admin
'''

# print("while loop:")
# i=0
# while (True):
#     if i+1<10:
#         i=i+1
#         continue
#
#     print(i, end=" ")
#     if (i==45):
#         break 
#     i=i+1
while(True):
    inp=int(input("enter:"))
    if inp>100:
        print("Congrats you entered grater then 100\n")
    else:
        print("wrong input\n")
        

Comments