PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'''Python Beginner
what is the problem here and how can i fix it'''
text = input()
word = input()
def search(text, word):
if word in text:
return("Word found")
else:
return("Word not found")
print(search(text, word))
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run