Outline for May 21, 2007

  1. Greetings and felicitations!
  2. Conditionals
    1. True, false, and expressions (0, None are false, all else is true); not, or, and
    2. if ... elif ... else
  3. While loops; the rolldie20-for.py program
    1. Sentry variable
  4. For loops; the rolldie20-2.py program
    1. range(n) and variants
  5. Loops and strings: the strings_stuff.py program
    1. Breaking a string into individual characters
    2. Creating new strings; reverse a string

Here is a PDF version of this document.