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.
You're not smart
Underscore is just a convention, "k for k,g in groupby(iterable)" also works perfectly.
This comment is hidden because it contains spoiler information about the solution
pretty cool
dang how did we all end up with the exact same code lmfao
lol cry more :D
hover your mouse over the clever button
Of course its not "bad code" in the sense that it works, is efficient and, dosent take up memory. But doing it this way is just hard to read for no reason.
It's not "bad code". It's compact, sure, but the approach is declarative. Yeah, maybe it would be more readable split up, but that would not change the approach.
Example of bad code just because you can do it in one line dosent mean you should.
Did the same, but I think it's not very easy to read?
looks so tidy
i did the same, eheh
Cool I came to the same solution but wrote out three to show readability
This is way older than ChatGPT, probably it was in its learning database.
Loading more items...