結果 : how to write string to text file in python