結果 : pass method as parameter python