| 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 Tue Feb 27 14:07:12 2024.
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