+ 1
Hi guys whats wrong with my code it just keep outputing none after the wanted output cant figure it out .
2 Answers
+ 2
search(text, word) # just call instead of print(search(text, word)) your function not returns anything explicitly so defaultly returns none
+ 1
Tnx mate