pow() & modulo QUESTION

vaulhausen at gmail.com vaulhausen at gmail.com
Fri Apr 1 19:08:07 EDT 2016


Having trouble performing the pow() function with 
real numbers.

I want to also take a modulo value....

Weirdly, this works fine ;

pow(2,6000,400) = 176

However, this returns an error ;

pow(1.4142, 6000, 400)

I have tried also the math.pow() function but it doesnt
work either..... can any one give me a hand with this?



More information about the Python-list mailing list