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 comment is hidden because it contains spoiler information about the solution
Could you elaborate on what the lambda function does in your solution exactly?
This comment is hidden because it contains spoiler information about the solution
(looked at your solution for comparison) Nice - I appreciate the explanatory comments.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I dont like this one as my first (posted) solution but this was what I did first.
While line 9 might seem more clever than best practice I choose it because this way the solution is very simple to extend to any number. You just need to know the higher roman numerals and add them here. The rest of the solution will adapt to it.
This comment is hidden because it contains spoiler information about the solution
Once you've solved kata you can click
Show Kata Test Cases
and see the test suite or fork someone's solution where it will appear as well. Looking at it in python, other than 4 fixed tests, every other sequence is of length50
so yeah that's bad test coverage.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...