Header Ads

Responsive Ads Here

Break and Continue Keyword

 Break & Continue Keyword



# Break
for i in range(1, 11):
    if i == 5:
        break

    print(i)
     

 
# Continue
for i in range(1,11):
    if i == 5:
        continue
    print(i)

Powered by Blogger.