Ex10 of Learn Python the Hard Way