Question: 1A) Write a Python program that will read a line from an input file, reverse it, and write it to another output file. You can
1A) Write a Python program that will read a line from an input file, reverse it, and write it to another output file. You can create your own input file for this program. Ask the user for the input and output filename. Be sure to also handle the exception if the file does not exist. Note: The original input file remains the same.
Modify program 1A to reverse the entire file and write it to another output file. You can create your own input file for this program. Ask the user for the input and output filename. Be sure to also handle the exception if the file does not exist. Note: The original input file remains the same.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
