主页
Python
Python math.log10() 方法
demo_ref_math_log10
运行 ❯
×
更改方向
保存代码
更改主题
# Import math Library import math # Return the base-10 logarithm of different numbers print(math.log10(2.7183)) print(math.log10(2)) print(math.log10(1))
0.43429738512450866
0.3010299956639812
0.0