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.
This comment is hidden because it contains spoiler information about the solution
that function thing is making it look so hard.
Funny one, "no more hints" on sample tests is actually helpful even if it hurts, as it makes you focus on your code and write exactly what you want rather than just hotfixing until the code passes everything.
I don't think this is 6kyu.
Kind of. You're expanding the content of the variable, but if that has spaces then you've passed multiple arguments instead of a single argument:
It wouldn't, but you need to make sure you're not splitting up the text into arguments anywhere, because then you've lost the delimiters.
This comment is hidden because it contains spoiler information about the solution
I don't see this behaviour in the tests. It's probably your code that is removing spaces, which is a very easy mistake to make in shell.
Something is printing to stdout, not sure what (because I'm unfamiliar with cw's sh environment), but I noticed that two spaces look a lot like one space, it doesn't even add a single pixel for the second space. It's there if copied though. Kind of unfortunate font behaviour..
The random tests for the Shell implementation appears to occasionally add extra spaces to the output.
Encoded message:
tvg3swhprr hj,
approved
Shell Translation
C# Translation
Approved
Groovy Translation
you can just print the input
Loading more items...