Python pow() function
Definition and Usage
pow() function value of x to the power of y (xy).
If the third parameter is provided, it returns x to the power of y, then the remainder is z.
Syntax
pow(x, y, z)
Parameter Value
Parameter | Description |
---|---|
x | Number, Base. |
y | Number, Exponent. |
z | Optional. Number, Modulus. |