Home /
Expert Answers /
Computer Science /
python-nbsp-7-5-lab-reading-lines-of-a-file-write-a-program-that-prompts-a-user-for-the-inpu-pa888
(Solved): python \( 7.5 \) LAB: Reading lines of a file Write a program that prompts a user for the inpu ...
python
\( 7.5 \) LAB: Reading lines of a file Write a program that prompts a user for the input and output fue names. Read each line of the file containing text and send it to the output file, preceded by line numbers Ex if the input text file is: Maty had a 1ittle lamb Whose fleece was white an snow. the program produces the output file / i \& Mary had a litte lamb \( \gamma \cdot 2 \cdot 1 \) Whose fleece wath vhite as Bnow. To prompt the user for file names: Finter the infut file fiamos toaty-txt Enter tho output tile namel remblt. txt Remember that when writing to a file, the output will not show in the corisole. \( \mid \begin{array}{l}\text { Lab } \\ \text { ACrivir }\end{array} 751 \) LAB. Reading lines of a file cocomicodabie filer and