News

Open the file in append mode (‘a’). Write cursor points to the end of file. Append ‘\n’ at the end of the file using write() function Append the given line to the file using write() function. Close ...