Question: write code that prints a string made up of the string stored in the variable sentence with all instances of the word 'idea' replaced with
write code that prints a string made up of the string stored in the variable sentence with all instances of the word 'idea' replaced with the word 'thought'. Assume the sentence variable has already been initialized.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
