|
|
|
|
|
by necovek
38 days ago
|
|
You seem to be complaining more about for working on iterators/generators like range() and not on comprehensions themselves. List comprehensions are inverted (syntax-wise) compared to regular program flow, but that is pretty easy to learn and adapt to (and is, imo, much better than "a = b if x else c"). |
|