it shouldn't be hard to tell that i'm no good at this. I think i get the lesson now but why doesn't thins code work?
def censor(text, word):
for word in text:
if word == censor:
word.append("*" * len(word))
print censor("this hack is wack hack", "hack")