0
Help! Help! I am struggle, I don't found the bugs on this code below for search engines, there's someone who gonna check for me
def search(text,word): if word in text: print('word found') else: print('word not found') text= input() word= input() (search (text, word)) https://www.sololearn.com/discuss/2882972/?ref=app
2 Answers
0
1. You don't need the parentheses around your call to the search function.
2. Check to make sure your output is exactly what is expected for either case.
"Word found" vs "word found"
??? What does the other post have to do with your question?
0
In your output "Word" needs to be capitalized.