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))

4th Jan 2022, 8:38 AM
Hemant Kumar
Hemant Kumar - avatar
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)
4th Jan 2022, 8:40 AM
NEZ
NEZ - avatar