This is what I've got and please don't pull your hair off (lol)
def censor(text, word):
new_text = 
for term in range(len(text)):
if text[term] != word:
new_text.append("*" * len(word))
return " ".join(text)
I'm getting this error ... Your function fails on censor("hey hey hey","hey"). It returns "h e y h e y h e y" when it should return "*** *** ***". Apparently all I achieved here is putting spaces between letters.
yeah man, I feel you, I´m a beginner to programming and sometimes I just find myself searching for mistake for hours and as soon as I find out that I just did something stupid, i.e. wrong indent for return I´m just laughing at myself hang in there bruh
Gotcha mate .... I've got headache almost on every exercise since these challenges started. And still don't get some solutions no matter how many times I read it through. Forum is great and advisors on hand are also very useful .... I just wish my brain would take this all in easier ...