Outline for May 25, 2007

  1. Greetings and felicitations!
  2. How to write a program
    1. Problem: read some text, and say whether or not there are any capital letters in it
    2. Pseudocode: read string, check characters
    3. Python #1: use a while loop and check whether you get to the end of the line
    4. Python #2: use a while loop with a sentry variable
    5. Python #3: use a for loop with "in" operator and a break

Here is a PDF version of this document.