結果 : how to write string into file python