結果 : how to log function in python