Question: Hi, Im really struggling with the replace function. MUST BE IN PYTHON!!! I've gone over my text book but haven't been able to find the
Hi, Im really struggling with the replace function. MUST BE IN PYTHON!!! I've gone over my text book but haven't been able to find the solution. Can someone please help 
*13.5 (Replace text) Write a program that replaces text in a file. Your program should prompt the user to enter a filename, an old string, and a new string. Here is a sample run: Enter a filename: test.txt Enter Enter the old string to be replaced: morning Enter the new string to replace the old string: afternoon nter Done
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
