发布时间:2019-08-28 09:19:00编辑:auto阅读(2208)
import math # 需要导入模块Module: math
a=math.log(c,b) #计算以c为底,b的对数:

a=math.log(b) # 当参数c缺省,默认取自然对数

上一篇: 浅谈五大Python Web框架
下一篇: Python操作Elasticsearc
53518
40346
34747
30503
25378
25177
23589
18859
15170
14677
1145°
1067°
1136°
1153°
1188°
1344°
1304°
1277°
1376°
1319°