Python基础-对数

import math # 须要导入模块Module: mathspa a=math.log(c,b) #计算以c为底,b的对数:blog a=math.log(b) # 当参数c缺省,默认取天然对数import
相关文章
相关标签/搜索