Question: Write a recursive function named find(text, substring) that will return the substring if the substring is inside the text or return an empty string if
Write a recursive function named find(text, substring) that will return the substring if the substring is inside the text or return an empty string if the substring is not inside the text. Write another function named is_string_there(text, string) to test the find function. The function will return True if the string is inside the text or False if the string is not inside the text.

This has to be done using the python program
def find(text, substring): 10 def is_string_there(text, string): 14 print(is_string_there("I love DSAG", "DSAG")) print(is_string_there("I love python", "DSAG')) 15 True False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
