Outline for May 23, 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 sentry variable
    4. Python #2: use a for loop with character positions; show break statement
    5. Python #3: use a for loop with "in" operator


Here is a PDF version of this document.