examples from learnpythonthehardway.org