PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# THIRU KUMARAN T R
def search(text, word):
return word in text
text = input().split()
word = input()
x = search(text, word)
if x:
print("Word found")
else:
print("Word not found")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run