python的数学操作运算

import math

math.pi #圆周率

math.e #指数

math.sin(2*math.pi/180)#正弦函数

math.sqrt()#平方根求解

math.log(值,底数)#求解对数

math.exp()#求解指数函数

 

posted @ 2018-07-03 15:31  The_Chain  阅读(117)  评论(0编辑  收藏  举报