[Solved] P79 Write Program Reads Line File Reverses Lines Writes Mary Little 1amb Fleece White Snow Q37176735
In python and please include line comments thank you!

P7.9 Write a program that reads each line in a file, reverses its lines, and writes them to Mary had a little 1amb Its fleece was white as snow And everywhere that Mary went The 1amb was sure to go. and you run reverse input.txt output.txt then output.txt contains The lamb was sure to go. And everywhere that Mary went Its fleece was white as snow Mary had a little 1amb Show transcribed image text P7.9 Write a program that reads each line in a file, reverses its lines, and writes them to Mary had a little 1amb Its fleece was white as snow And everywhere that Mary went The 1amb was sure to go. and you run reverse input.txt output.txt then output.txt contains The lamb was sure to go. And everywhere that Mary went Its fleece was white as snow Mary had a little 1amb
Expert Answer
Answer to P7.9 Write a program that reads each line in a file, reverses its lines, and writes them to Mary had a little 1amb Its f… . . .
OR

