My answer for the book _Learn Python The Hard Way_