Cube Roots

William Park opengeometry at
Thu Jan 2 21:40:00 CET 2003

John Smith <someone at> wrote:
> How does one take a root higher than square roots in Python?  Can I
> take the cube root of a number?

Pretty much like other languages -- y**(x), math.pow(y, x), ie.
    math.pow(8, 1/3.0)

William Park, Open Geometry Consulting, <opengeometry at>
Linux solution for data management and processing. 

More information about the Python-list mailing list