发布时间:2019-08-02 10:58:57编辑:auto阅读(3956)
Author: LiChong0309
Label: Python
pow(a,b) :求a^b的数值。当a为整数时,返回整数值,当a为浮点数时,返回一位小数的浮点数。
sqrt()函数不能单独使用,要先调用函数库math或者numpy才能使用。当开方得到是有限数时,返回一位小数的浮点数。
import numpy
numpy.sqrt(64)
import math
math.sqrt(36)
上一篇: Python:列表操作命令
下一篇: Python中的id函数到底是什么?
51010
50390
41002
37871
32335
29229
28112
22944
22910
21240
1104°
1795°
1462°
1403°
1680°
1484°
2148°
3708°
3646°
2558°