2009/7/21 Henrique Nakashima <[email protected]>

> In Python, exponentiation can be done with the ** operand (2 ** 3 returns
> 8). I don't know whether that is different in any way from pow(2, 3), but
> help(pow) says it's the same.

It's not really different, but it can have a modulus argument, which is
faster than (x**y)%z

Reply via email to