Hello! I need some help with this exercise.
Error looks like: "Oops, try again. Does your censor function take exactly two arguments, a text string and a word to replace with asterisks? Your code threw a "sequence item 0: expected string, list found" error."
def censor(text, word): y =  x = text.split() for i in text: if i == word: y.append('*') else: y.append(x) return ''.join(y)