結果 : creating a function in python