Im stuck on Python 2, Practice makes perfect, censor (10/15).
The forum post linked to in the exercise is locked.
We are tasked with creating a function that takes two arguments, a string and word, and we need to return the string except censoring out the word with the correct amount of stars representing each letter.
This is my code. Why won’t it let me pass and how can I fix it?