99问答网
所有问题
python中A的B次方怎么打?
如题所述
举报该问题
其他回答
第1个回答 2023-03-17
有几种方法,例如5的平方:
一是5**2
二是使用numpy库中的power函数
import numpy as np
np.power(5,2)
相似回答
大家正在搜