結果 : how to code logarithms in python