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.
Did same Kata on Python. Learned regex basics from there. (Regex is confusing)
wow
In my opinion this is the best solution.
why me 0 - number!oh god
Great solve. This taught me about conditional operators and was incredibly helpful. Thanks.
you can do this?
best answer
Could you explain what do you mean?
Sometimes the shortest decisions in codewars have an issues. But pass all the test cases so they are winners by the way...
Im new with the programming, just want to now if i understand this correctly, getNumericValue is checking for the first char from the string and return string depending on the number?
This implementation does not protect you from fat finger errors and may therefore be considered bad practice.
Any explanation why this is the best practice?
若测试用例有2位数字的话,这个答案就不适用了
is not that obsolete since i got similar code, but I failed tests that have 2 digits.
This comment is hidden because it contains spoiler information about the solution
Loading more items...