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