pow
请查看 Python 内建函数列表 了解更多相关 API。
说明:计算乘方。
python
def pow(x, y):
'''
获取长度
:param x: 底数
:param y: 指数
:return: x 的 y 次方
'''示例:
python
print(pow(2, 3))