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