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.
There are too many irrelevant tags attached to the kata.
This kata does not contain tests like these:
" 4 ", "abc-4.56cfff", "-45.45.3"
Description should be language-agnostic
The expected method should be
static
.No sample tests.
C# (translator last seen 3 years ago)
misuse of IsTrue assertion here:
Assert.IsTrue(CodeWars.IsDigit(input) == expectedResult);
this will end up saying it expects
true
even when it expectsfalse
random tests are also lacking, too easy to hardcode
if (x[0] == 'f')
or something like that, maybe some other language has a better test that can be translatedDuplicate.
Description formatting is broken.
This comment is hidden because it contains spoiler information about the solution
test 7 and 8 i cant pass but other 407 is okay and i cant even guess what the tests ((
anyone know how to identify negative numbers in strings?? I dont want to lstrip() or say if it is +/-. I just want to say, if there is a negative number in this string to answer True.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Kotlin translation Kumited! please accept
Thread handling it not mandatory for this Kata as you can see in my solution, should this be stated in the desciption?
Loading more items...