Question: Write a string list that could be passed to this function to getit to return the string In this life we cannot do honeydew things.We
Write a string list that could be passed to this function to getit to return the string "In this life we cannot do honeydew things.We can only do small things with honeydew love.".(python)
function: def word_subsitution(x):
old, new = x
s = "In this life we cannot do great things. We can only dosmall things with great love."
return s.replace(old,new)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
