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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!