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

✓ Layout 1 syntax – continually execute a block until a condition is false

while <condition>:
<block>

✓ Layout 1 example:

i = 1
while i <= 10:
print ("i is now", i)
i = i + 1