結果 : write a method in python to write multiple lines of text content into a text file