結果 : how to write into text file python