Outline for May 23, 2007
- Greetings and felicitations!
- How to write a program
- Problem: read some text, and say whether or not there are any capital letters in it
- Pseudocode: read string, check characters
- Python #1: use a while loop and sentry variable
- Python #2: use a for loop with character positions; show break statement
- Python #3: use a for loop with "in" operator
Here is a PDF version of this document.