結果 : how to write math log in python