Exercises from the book Teach yourself python in 24 hours