In python, we should use math.log10 instead of math.log for better float number processing:
math.log(243, 3) #4.9999999999
math.log10(243) / math.log10(3) # 5.0
In python, we should use math.log10 instead of math.log for better float number processing:
math.log(243, 3) #4.9999999999
math.log10(243) / math.log10(3) # 5.0