Description contradicts itself, saying anything <= 0 should result in an error, and then proceeding to say [], [[], []], and [] should be returned for 0.
EDIT: I realize now that the expected result for 0 is the expected result for all errors. This should be made more explicit, I'm not sure how I managed to solve without realizing this but it was not apparent to me upon reading the description.
In python the last fixed test is wrong.
True
is an integer, not a "non-number".Tests should be updated to use the new test framework in Python.
The function name should be in snake_case in Python and Ruby.
literally had to use list of prime numbers up to 10000
idk how to do it in other ways
but where are the normal tests???
The idea behind this kata is really good but with no random tests and only 5 attempt tests it's very easy to cheat and loses most of its interest.
yo shoes are mega raggidy
No random tests (at least in python).
I guess there is no point in asking for a recursive approach when it cannot really be forced.
Since you asked I gave you one :)
'alr approved some time ago'
'alr approved some time ago'
very fun but the description needs to be more clear about what to do with the errors.
for example errors should return [] [[],[]] []
Can someone please translate this for python? Thank you. I realised python is not there only after solving it lol.
Description contradicts itself, saying anything
<= 0
should result in an error, and then proceeding to say[]
,[[], []]
, and[]
should be returned for 0.EDIT: I realize now that the expected result for 0 is the expected result for all errors. This should be made more explicit, I'm not sure how I managed to solve without realizing this but it was not apparent to me upon reading the description.
Loading more items...