結果 : write to line in file python