- 1

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

31st May 2021, 5:54 PM
Yash Soni
Yash Soni - avatar
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
31st May 2021, 6:12 PM
Lothar
Lothar - avatar
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
31st May 2021, 6:48 PM
Yash Soni
Yash Soni - avatar
0
you need either return result from function (instead of print it) OR don't print the (None) result of the actual function call ^^
31st May 2021, 10:57 PM
visph
visph - avatar