I tested the code and 683 is correctly marked as prime.
Thanks for your feedback :)
Testing for 683
It should work with random inputs too - Expected: false, instead got: true
Not sure how it expects 683 not to be a prime while it is a prime. Many such failures.
no, this is the spirit of the kata (and moreover the spirit of python) ;)
This comment is hidden because it contains spoiler information about the solution
bitwise operator is the simplest way!
See above, this was an issue in Ruby which is fixed.
Amazingly simple while easy.
You don't need to escape the <>s
No. The s only mean that. The slashes denote the start and end of the regexp object.