log function calculates the logarithm of a number, base e. You can optionally specify a base as the second argument. import math import cmath math.log(5) # = ...
確定! 回上一頁