Question: Has to be in Python. Without def functions please. Id appreciate any help. Ive been stuck on this for a while. (Replace text) Write a
(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: **13.5 Enter a filename: test.txt Enter Enter the old string to be replaced: morning Enter Enter the new string to replace the old string: afternoon Done
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
