Module 3
continue
Skipping to the next iteration.
Skip this one
The continue statement skips the rest of the current iteration and moves to the next one.
Python
for base in "ATGC":
if base == "T":
continue
print(base)→ A
G
C
When the loop reaches T, continue skips the print. Only A, G, and C are printed.
What does continue do?