結果 : write function in python example