求以 10 为底的对数,其他语言中为功能函数log10。
math.lg(x)复制
math.lg(x)
def test(): ret=math.lg(200) print(ret)复制
def test():
ret=math.lg(200)
print(ret)