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..

11th Jan 2023, 3:55 PM
Olawale Odebode
Olawale Odebode - avatar
4 Respostas
+ 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
11th Jan 2023, 4:55 PM
Lisa
Lisa - avatar
+ 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.
11th Jan 2023, 4:26 PM
Lisa
Lisa - avatar
+ 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).
11th Jan 2023, 5:34 PM
Brian
Brian - avatar
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..
11th Jan 2023, 4:30 PM
Olawale Odebode
Olawale Odebode - avatar