0
Please help me in this code:
text= input() word= input() def search(text, word): if word in text: return ("Word found") else: return("Word not found") print(search(text,word))
1 Answer
+ 2
def search(text,word) :
if word in text :
print ('Word found')
else:
print('Word not found')
text = input()
word = input()
search(text,word)