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.
this isn't going to be approved without random tests even though the js implementation is also missing them
the assertions should probably compare the whole return value instead of splitting it up into two parts
that also makes type/length assertions redundant
unclear whether less than two points is valid input, I'd be inclined to update description to state 2 <= len <= 500 because it isn't really a corner case but rather an invalid input so it isn't part of the problem
missing test size spec in description, which is required to understand what problem needs to be solved
js tests need to be updated, missing random tests + other issues
As a new comer on Codewars, I wanted to try to translate some kata, and was inspired by this one...
So I've prepared a Python translation.
Anyone to check, comment and possibly approve ?