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