+ 1

Hi guys whats wrong with my code it just keep outputing none after the wanted output cant figure it out .

https://code.sololearn.com/ce715X0sbPxt/?ref=app

25th Oct 2022, 12:49 PM
Kia
Kia - avatar
2 Antworten
+ 2
search(text, word) # just call instead of print(search(text, word)) your function not returns anything explicitly so defaultly returns none
25th Oct 2022, 12:57 PM
Jayakrishna 🇮🇳
+ 1
Tnx mate
25th Oct 2022, 1:00 PM
Kia
Kia - avatar