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.
Yeah!It's now work.
Thanks!
In all three languages an empty string is to be returned if the empty string is the input itself, as it containes no character other than [A-Za-z ]; fixed the description to make it more clear :)
Thanks for the feed, sayfidz; actually Ruby's test code was not right; now it works fine and the description should be not ambigous anymore :)
Fixed, thanks!
You must
return
, notprint
values :)I agree on the first part, but as a tranlator I felt obliged to respect the original author's will to keep it a tad easier and thus return a string instead of an error. No big deal anyway, if you ask me.
Imho handling extra spaces was not an issue, but I edited the code a bit so that now the random strings are generated without leading or trailing spaces.
Thanks for your feed :)
It worked like a charm to me: maybe the servers were down for a moment?
Try again and let me know :)
Sorry for the mishap, I have improved the description and added an example: if the string contains any character which is NOT alphabetic (in the above example there is a 0), then you return "Not letters" :)
I struggle a bit with my python solution, all of the standard tests are passed but i always get an error on the random tests.
Testing for 'UgUSkt0KiVOSezr'
It should work for random inputs too: 'U' should equal 'Not letters'
'U' is the right answer here, isn't it?
This comment is hidden because it contains spoiler information about the solution