Examples and Exercises from Think Python