SyntaxFix
Write A Post
Hire A Developer
Questions
If you use log without base it uses e.
e
From the comment
Return the logarithm of x to the given base. If the base not specified, returns the natural logarithm (base e) of x.
Therefor you have to use:
import math print( math.log(1.5, 10))