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

23rd May 2021, 7:06 AM
Madhavi_Gurajaboina
Madhavi_Gurajaboina - avatar
4 odpowiedzi
+ 4
if word in text: Print("word found") Else: Print("word not found")
23rd May 2021, 7:10 AM
Sadra Shakouri
Sadra Shakouri - avatar
+ 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")
23rd May 2021, 7:11 AM
sarada lakshmi
sarada lakshmi - avatar
+ 2
Thank You
23rd May 2021, 7:12 AM
Madhavi_Gurajaboina
Madhavi_Gurajaboina - avatar
+ 2
I did a google search: "How many lines of code in Google" Answer: 2 Billion Where would you like us to start?
23rd May 2021, 9:43 AM
Rik Wittkopp
Rik Wittkopp - avatar