結果 : passing method as parameter in python