This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.

Flow Control [May 9, 2011, 6:47 p.m.]



Flow control consists of tools to determine the sequence of events in a program. The primary aspects of Python flow control include:

  • boolean logic
  • loops
  • iterators

Please review the Flow Control learning resources. Post answers to the practice exercises below.

Q: What are some everyday systems that exhibit flow control?

Q: Can you think of some examples where True/False logic may be too constraining?

Learning Resources