結果 : how to pass a function as an argument in python