結果 : write row function in python