結果 : define callback function in python