結果 : how to write text in file using python