結果 : how to write into a text file using python