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