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.
the spaces are kept at the same index
a very tricky 7kyu, for me at least! Good answer though
There is a difference between a Kata Issue, a Question and a Suggestion. I have to address Issues. Yours was probably a Question.
I am confused. I am using python. The test cases are messed up. I don't get it. How does "your code rocks" reverse to "skco redo cruoy"? Edit: wait a minute you wanted to keep the spaces at the same place
(Java) The statement needs to be more clear. There are some test that wasn't good wroted.
at first i also thought about that too..but the whole idea behind it was to reverse the string, also the quantity of word in the sentence still remained
Got it! Made a silly mistake :P
Ok.
Ah, okay, got it.
Reread the instructions. Sorry! :D
You should print random the input and compare your solution with what is suggested. Alternatively, you can create your own tests by replacing the example cases with simple sentences like "the world is flat" then compare the reference solution output with yours.
That's intentional.
In python, most (!) of the test case solutions also contain the random space shifts already mentioned...