結果 : how to compute log in python