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.
The best solution i've ever seen in my life
PEP 8, LOL, Didn't hear about it)
My mistake, sorry, bro. Great kata...
Random tests for Python are broken:
Testing for [1, -8, 8, 1, 7, 6, 7, 2, 2, 2, -8, -3, -8, -2, -6, -5, -9, 2, -8, 4, 1, -8, -9, 3, -5, -4, -8, -6, -3, 9, -1, -4] and 4
It should work for random inputs too: [-8, -8, -8, -9] should equal [-8, -8, -9, -9]
same
LOL. I never would have thought that it would pass all tests in the prescribed time)
One of the most beautiful and laconic solutions, I'm even surprised that there aren't many "Clever" and "Best Practices" marks. It deserves much more.
Nice one