Hey If you are beginner and want to learn a python then you are on right path. Learn basic as well as advanced programming in Python.

Search

Use of continue in Python. (Python program to show how to use continue in Python)

PYHTON PROGRAM





#Program for "Continue" statement

k=0

while k<30:

k=k+2

if k==20 or k==22 :

continue

else:

print("\t",k)





*** Input && Output ***





No comments:

Post a Comment

let me know which type examples you want to comment me.