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.
I used the following testcases for Python:
Test.assert_equals(validate(79927398713), True)
Test.assert_equals(validate(79927398710), False)
Test.assert_equals(validate(79927398711), False)
Test.assert_equals(validate(79927398712), False)
Test.assert_equals(validate(79927398714), False)
Test.assert_equals(validate(2543), True)
Test.assert_equals(validate(2741), True)
Test.assert_equals(validate(2841), False)
The test cases for this kata are not complete.
I was able to submit intermediate solutions before I figured out exactly what should be done. :)