0
Please anybody correct this code bit . There an erro none printed that was useless.
text = input()ļ»æ word = input()ļ»æ def search(a , b): if b in a: print("Word founded") else: print("Word not founded") print(search(text, word)
3 Answers
+ 5
Your function does not return anything, it just prints. One way to fix it is replacing the 2 print() inside of your function by return statements
Also remove the indentation of the 2nd line
+ 3
Check indentation in line 2 and line 7
Remove print( in line 8
0
Thanku sir/ ma'am