Learn Python The Hard way -ex40