Title: Layout 1
Course: CPS 120: Introduction to Computer Science ~ Master (Aug/2015) OLD > Section: Learning Units

✓ Layout 1 syntax – continually execute a block for each value in the set

for <index-variable> in <set>:
<block>

✓ Layout 1 example:

for i in range(1, 11):
print ("i is now", i)