Someone could help me with this code?
def censor(text, word):
text = ""
text.replace(word,"*"*len(word))
It returns “SyntaxError: invalid syntax”
Thank you!
Someone could help me with this code?
def censor(text, word):
text = ""
text.replace(word,"*"*len(word))
It returns “SyntaxError: invalid syntax”
Thank you!