TIL, #Python edition - everyone knows about list and dictionary comprehensions, but there are also generator comprehensions which are pretty cool. E.g.
> (x * x for x in range(100))
# => <generator object <genexpr> at 0x10548f780>
Those work with everything that expects something enumerable.