結果 : define higher order functions in python