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