Practice makes perfect : Censor


#1

My output is right then why it showing error?


#2

@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


#3

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.