Name

if

Examples
for i in range(5, height, 5):
    stroke(255)     # Set the color to white
    if i < 35:      # When 'i' is less than 35...
        stroke(0)   # ...set the color to black
    line(30, i, 80, i)
Description
Syntax
if test: 
  statements 
Parameters
test
statements
Related else
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License