- 1
Can any one help me to write code 45 on search engine.
3 Respostas
+ 2
Yash Soni ,
we can help you , but we need to see your attempt first. please put your code in playground and link it here. we also like to get a complete and proper task description.
thanks
0
text = input()
word = input()
def search():
if word in text:
print("Word found")
else:
print("Word not found")
print(search())
# there is none also print after all
0
you need either return result from function (instead of print it) OR don't print the (None) result of the actual function call ^^