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

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

上一篇: 浅谈五大Python Web框架
下一篇: Python操作Elasticsearc
51714
51373
41805
38578
33058
30070
28738
23733
23645
22013
2228°
2915°
2436°
2384°
2954°
2386°
3193°
5246°
5059°
3612°