Basic Control Flow Statements (Revisited)

if-elif-else

     if expr:
         statements
     elif expr:
         statements
     else:
         statements

while

     while expr:
          statements

for

     for item in sequence:
          statements
<<< O'Reilly OSCON 2000, Introduction to Python, Slide 64
July 17, 2000, beazley@cs.uchicago.edu
>>>