continue py code example
Example: continue py
# Program to show the use of continue statement inside loops
for val in "string":
if val == "i":
continue
print(val)
print("The end")
# Output:
# s
# t
# r
# n
# g
# Program to show the use of continue statement inside loops
for val in "string":
if val == "i":
continue
print(val)
print("The end")
# Output:
# s
# t
# r
# n
# g