- 1

Am stuck in this practice.... Any tips on what to do

The given code takes a text and a word as input and passes them to a function called search(). The search() function should return "Word found" if the word is present in the text, or "Word not found", if it’s not.

22nd Jan 2022, 11:33 AM
Owoh Chidera Emmanuel
Owoh Chidera Emmanuel - avatar
2 Answers
0
The first case goes through but the second does'nt
22nd Jan 2022, 11:46 AM
Owoh Chidera Emmanuel
Owoh Chidera Emmanuel - avatar
0
I finally solved it....
22nd Jan 2022, 1:58 PM
Owoh Chidera Emmanuel
Owoh Chidera Emmanuel - avatar