Exercises from a Python Book