結果 : create a user defined function in python