You are here : python_3Built-in Functionspow

pow() - Built-in Functions

Return x to the power y; if z is present, return x to the power y,
modulo z (computed more efficiently than pow(x, y) % z). The two-argument
form pow(x, y) is equivalent to using the power operator: x**y.


Syntax

pow(x, y[, z])


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference