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.
python fork:
https://www.codewars.com/kumite/62c54e0b5568e4000f587d99?sel=62c54e0b5568e4000f587d99
This comment is hidden because it contains spoiler information about the solution
Yes, with str = '123 ' in JS we have problem. but in browser its correctly....
mmm...not really
in some languages (other than python which you're using), the booleans are
true
andfalse
. you should return a boolean since thetrue
andfalse
are not stringified (don't have quotes around them).returning a string of either
'true'
or'false'
is pointless and it would be more logical to just return a booleanFrom the Description it is not completely clear what kind of answer should be returned: should it be a string or Boolean, according to Examples one can guess, that it should be a string beginning with a small letter. Trying this you understand, that you should write it with a capital letter, and only then trying to return “False” or “True”, one can get that it is a Boolean.
I've got "Unauthorized" server response after clicking Test. Guys, please, fix the Codewars https://www.codewars.com/api/v1/runner/authorize back-end. It returnes 500 error.
I dont get it why it doesnt pass, It says passed : 11 , failed : ?. What am i suppoused to understand from "?".
Which one? The one I see is like my solution and it works.
I've copypasted the solution and I've got the same timeout error. Not quite correct, right?
Tests are fine, your solution is too slow.
This comment is hidden because it contains spoiler information about the solution