結果 : write to a specific line in file python