結果 : how to add logs in python code