結果 : how to write in file using python