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.
Now input + returned and expected values are provided
merged
No:
Unclear how this is a kata issue. Closing.
Python fork (author is inactive), addressed several issues:
No random tests in Go
My advice is to look into 'type coercion' and while you're at it, 'type conversion' and figure out the difference. It's quite interesting stuff.
how and why does this work ?
Thank you!
This comment is hidden because it contains spoiler information about the solution
If you surround your code with three backticks (```), it will put it in a codeblock, which is far easier readable.
See: https://docs.codewars.com/references/markdown#displaying-code
This comment is hidden because it contains spoiler information about the solution
Added PHP 8.0 support
This also fixes a bug in the solution (see comment on the fork)
Interesting I haven't seen forEach used this way
tests are weak (JS), edge cases like "89,179", "80, 180.0001", "-90,180", etc. should be tested. I've passed with regex that would not work correctly for such edge cases
Loading more items...