开方
import math
math.sqrt(100)
- 1
- 2
平方
import numpy
numpy.square(180)
- 1
- 2
三角函数
import math
math.tan(5*math.pi/12)#tan(75),括号里是弧度
- 1
- 2
import math
math.sqrt(100)
import numpy
numpy.square(180)
import math
math.tan(5*math.pi/12)#tan(75),括号里是弧度