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.
that one is sick!
If you understand python it's easy to read
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
Loading more items...