- 1
Fix for me the bugs in the code to output "word found"
def search (text): word = str(input ()) if word in search (text=input()): print ("word found") else: print("not found")
3 Respostas
0
I think the indentation got messed up. Can you please share the link to your code?
- 1
Word = input()
Text = input()
if Text in Word:
print("Word found")
else:
print("Word not found")