結果 : write () and writelines () methods in python