結果 : how to define a function in python 3