Practice makes perfect : Censor


My output is right then why it showing error?


@connecttopawan: Your code is indeed correct but it seems the site won't really accept it. In cases like that, I'd suggest you to refresh the page and try to execute again


There does appear to be a difference between what the function should return and what it actually does return. According to the message, this was the result ...

" *** *** ***"

... but it should have been ...

"*** *** ***"

There should be no space prior to the first set of asterisks.