4 ms·
> It's easier to add complexity to the loops This is basically selling point for comprehensions. You can't add complexity to them so any comprehension you see
by Spivak 4y ago
> It's easier to add complexity to the loops
This is basically selling point for comprehensions. You can't add complexity to them so any comprehension you see fits a few common loop patterns you can grok immediately.
If you see an actual for loop in python it means "pay attention something odd is probably going on."