Answers for "continue"

1

break continue

The break statement "jumps out" of a loop.
The continue statement "jumps over" one iteration in the loop.
Posted by: Guest on December-23-2020
1

continue

# Program to show the use of continue statement inside loops

for val in "string":
    if val == "i":
        continue
    print(val)

print("The end")
Posted by: Guest on May-29-2021

Python Answers by Framework

Browse Popular Code Answers by Language