Question: Computer Science and Programming I (Python) Lab 7C -word search and replace Return to: 22 October 28... Write a program which asks the user to

Computer Science and Programming I (Python) Lab 7C -word search and replace Return to: 22 October 28... Write a program which asks the user to enter a sentence which contains the same word several times, e.g. Monday is a nice day and on Monday I will talk to my students about Monday The program then asks the user to enter a word: e.g. Monday, then they are asked to enter another word, e.g. Friday Every occurrence of the first word entered should be replaced by the second word entered in the original sentence entered. In this example the output should be: Friday is a nice day and on Friday I will talk to my students about Friday. e.g. Monday, then they are Submission status
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
