結果 : python define callback function