Help, I am struggle to make the code below for search engine | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help, I am struggle to make the code below for search engine

There's some bugs but I am not found them text = input() word = input () def search(text, word): if word in text: print("word found") else: print("word not found") (search(text, word))

6th Sep 2021, 6:16 AM
Alonso M. Kalonji
Alonso M. Kalonji - avatar
1 Answer
+ 3
W should be uppercase in "Word..."
6th Sep 2021, 6:55 AM
Simba
Simba - avatar