Read the name of a file and then open it forreading. Read th

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

"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!":

Get started
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.