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.
that breaks however if you submit 2, instead of 2.0
Thank you so much B1ts - that's really helpful and appreciate the lightning response!
On Codewars, you don't work with input/output. You instead have to write functions that return values.
Here's an overview of how it works: https://docs.codewars.com/training/training-example
This comment is hidden because it contains spoiler information about the solution
best one
loved it
The problem was a good one for begginers to boost their confidence. One can solve this just by checking the rightmost bit of the number : if the bit is 0, the number is even else odd.
This comment is hidden because it contains spoiler information about the solution