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