ntext = text.split()
for y in ntext:
if y == word:
"'list' object has no attribute 'replace'" error. Check the Hint if you need help!
I saw people solving that with app.end but how do you solve this with replace command?? Thanks
Strings have a method called replace
But lists do not. That's what that error is telling you.
It worked for me in the next way
.... return text.replace(word,word1)
That was motherfocking genius man - thanks!