0
Plz help me in making Google Search Engine
text = input() word = input() if word: print("Word found") Can't understand what to do next
4 odpowiedzi
+ 4
if word in text:
Print("word found")
Else:
Print("word not found")
+ 3
You need to check whether the word is in the given input or not..you're simply checking whether it's true or false..
The condition shld be like this,
if word in text:
print("Word found")
else:
print("Not found")
+ 2
Thank You
+ 2
I did a google search:
"How many lines of code in Google"
Answer: 2 Billion
Where would you like us to start?