3 ms·
Does that even run? :) Nested comprehensions are one of the things I hate about Python actually. The functions in itertools are so much clearer. I can't really
by agentultra 16y ago
Does that even run? :)
Nested comprehensions are one of the things I hate about Python actually. The functions in itertools are so much clearer. I can't really think of a good reason to use nested comprehensions... they become unreadable really fast!
- cool-RR 16y agoThe nesting of list comprehension is just an aperitif in this function.