結果 : python pass function to method