結果 : creating a user defined function in python