Well, it seems I googled some stuff I probably shouldn't have yet
And I guess I'm not the first one who comes up with the following solution, but anyways.
Here it is:
def censor(text, word): cens_word = "*" * len(word) return text.replace(word, cens_word)
Soooo...my question is: what is the proper decision to this exercise? What's the point of generating a list?
(Also, maybe this will help someone who's stuck...)