Please help me . porblem wiht the code. I have the following error can comeone explaine why please?


Replace this line with your code.


@gianis88: If you stop to analyze, there's a small difference on the output with the expected output.
If you look close to it, there's a space between the last asterisk and the double quotes.

Your output: "*** *** *** "
Expected output: "*** *** ***"

Could it be that? Maybe, try to remove that last whitespace and see if it works out.

If not, let us know!


jes you are right,,, I've fixed now
text.replace(word,'*' * len(word))


Glad it works :slight_smile:


you know what: the best way to learn coding is to fix the others error.