Now input + returned and expected values are provided
merged
No:
Coordinates can only contain digits ...
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
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 collection data...
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...