Program Python Pow Function Structure