math.pow(x,y)

Wojciech Muła wojciech_mula at poczta.null.onet.pl.invalid
Sun Jun 11 14:30:58 EDT 2006


fl1p-fl0p wrote:
> import math
> math.pow(34564323, 456356)
>
> will give math range error.
>
> how can i force python to process huge integers without math range
> error? Any modules i can use possibly?

You have to use operator **, i.e. 34564323**456356



More information about the Python-list mailing list