結果 : how to call log function in python