Learn Python the Hard Way Exercise 48