from math import logfrom math import e
print e #自然对数print log(e) #log函数默认是以e为底print log(100,10) #以10为底,对100取对数print log(4,2) #以2为底,对4取对数