Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thanks for your help i found what was wrong and corrected it thanks to your tip😁
The string you think is the same as expected is no the same as expected, it just seems to be the same as expected. Due to an off-by-one bug in your solution, it has a stray
\0'
in the middle. Change the bottom of your function to:... and you will see that first space is not a space but
\0
.Hi, when i try my code it works fine and it even gives the same output as the test case but when the test case run it the return value doesn't show completly so it keeps saying i failed the test and i even displayed the string to make sure that i got the same statement exactly