結果 : how to write a line into a file python