Start Exercise 1 in Chapter 9 of Think Python