I got the following message
Oops, try again. Your code looks a bit off--it threw a "'NoneType' object has no attribute 'append'" error. Check the Hint if you need help!
I assume .append() is how you add item to the end of a list and I already created an empty list name t. Please help.
def censor(text, word): t =  for w in text.split(): if w == word: t = t.append("*" * len(w)) else: t = t.append(w) print " ".join(t)