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.
it is, but 0 can be counted as
False
aaa.... right.... how on earth did I not notice that formal is s'posed to be a bool/
the goal is to make it short, not make it long
I did NOT improve from @thatbirdguythatuknownot's answer, I modified the test cases. So its still 96 characters.
I did NOT improve from @thatbirdguythatuknownot's answer, I modified the test cases.
nice
thats so much shorter
nice! I see that big improvement!
Approved by someone
Javascript translation
You failed on input
1239125
and12399125
.1239125
The expected result is:
1239321
Result from your function:
1240421
12399125
The expected result is:
12399321
Result from your function:
12400421
Not a kata issue, marking as resolved.
1240421 should equal 1239321
12400421 should equal 12399321
Yo! what am i doing wrong? function returns numbers as integers
:0
Added them. Thanks for the suggestion!
I would like to suggest to add cases of:
to be part of the examples.
Loading more items...