| Name | continue |
|---|---|
| Examples |
for i in range(0, 100, 10):
if (i == 70): # If 'i' is 70,
continue # skip to the next iteration,
# therefore not drawing the line.
line(i, 0, i, height)
|
| Description | When run inside of a for or while, it skips the remainder of the block and starts the next iteration. |
| Syntax | for i in xrange(10): if (test): continue statements while (condition): if (test): continue statements |
| Related |
for while |
Updated on Mon Sep 21 15:53:24 2020.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License