0
youâre working on a search engine. Watch your back Google! The given code takes a text and a word as input and passes them to a
hi y'all. please someone should help with this..
4 Answers
+ 4
1.) Check the spelling of the output strings â they must be written exactly as in the task description
2.) Call the function and pass the input to it
+ 3
1.) Do not paste the task description in the title section. It gets truncated.
2.) Tag the relevant programming language and mention the course name, so people know what you are referring to.
3.) Show your own code attempt, so we can check on it and suggest you how to go on.
+ 2
Olawale Odebode the search function is defined, but it never gets called from the main portion of the code (the level of code where there is no indentation).
0
here is my code attempt
text = input()
word = input()
def search (text, word):
if word in text:
print("word found")
else:
print("word not found")
#please, kindly help..