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
- Python for Informatics -- Chapter 3 (Slides, Printable Slides, Streaming Video, Download Video, Lecture Audio)
- Python for Informatics -- Chapter 5 (Slides, Printable Slides, Lecture Audio)