# Natural log in python and log base 10 import numpy as np #natural log in python x = np.log(8) #log base 10 in python x2 = np.log10(8)
math.log10(num)