Python

Some Notes on Flow Control

An old friend asked for help with his Python program, which turned into a great lesson on flow control.

Reverse Iteration Example

We were asked to write a function that detects palindromes and ignores white space. I took this as a good time to demonstrate reverse iteration.