Python Lab Manual / Break and Continue Statements in Python Program

Program Name

Write a Python program for Break and Continue Statements.
Theory
Break is used to come out of the loop and Continue Statement is used to skip loop for one time in Python Program.
Program Code


Input and Output:

Output:
Break Statement
s
t
r

Continue Statement
s
t
r
n
g


Home     Back