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