Can any one help me to write code 45 on search engine. | Sololearn: Learn to code for FREE!

-1

Can any one help me to write code 45 on search engine.

5/31/2021 5:54:27 PM

Yash Soni

3 Answers

New Answer

+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 ^^