Python Function Reference

math.pow
Return x raised to the power y.
Python 3.13
math.pow(x, y)
x
The base number.
y
The exponent.
Examples
Python 3.13
>>> import math
>>> math.pow(2, 3)
8.0