結果 : how to implement logarithm in python