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