結果 : how to define log in python