結果 : how to write specific line in text file python