結果 : how to do logarithms in python