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 think we don't like our lives for making up such complicated things.
This was a really good Kata and I enjoyed it a lot! Thank you.
This comment is hidden because it contains spoiler information about the solution
There are 5 similar answers here, so this is just a common thing among Pythoners.
This comment is hidden because it contains spoiler information about the solution
This is one of the most clever solutions I've seen on any Kata. Who cares how inefficient it is. God, Python is beautiful and you are an artist.
Awesome. I'm new to JavaScript and learned some syntax because of your answer. Thank you!
You're welcome! It is a Python idiom you can find in zip documentation
I've never seen the zip(*[iter(s)]*8)) syntax before. Thanks for showing me something new!
I noticed that the user Mrueda1992 used min() to avoid an if statement, so I borrowed that and resubmitted. I'm pretty sure this solution is irreducibly small. Let me know if you find a smaller one!