Read the name of a file and then open it forreading. Read the name of another file and then open it for output. When theprogram completes, the output file must contain the lines in the input file,but in the reverse order. Both files must reside in a folder different fromwhere your Python program resides.steps to follow a) Reada line from a fileb) Writea line to a filec) Createan empty listd) Growa list with content from a linee) Looponce for each element in a list
Did you know you can hire someone to answer this question? Yes, classaider.com is a hub of paper writers dedicated to completing research and summaries, critical thinking tasks, essays, coursework, and other homework tasks. It is simple as ABC.