If you use a log without a base, it uses e .
From the comment
Returns the logarithm of x to the given base.
If the base is not specified, returns the natural logarithm (base e) x.
For this you need to use:
import math print( math.log(1.5, 10))
source share