Some nice/interesting posts of mine:
- Fast
zip_equal
(like Python 3.10'szip(..., strict=True)
. itertools.groupby
explained.- Really nice:
[2, a, b, 1, c, 3, d, e, f]
⇒[[2, a, b], [1, c], [3, d, e, f]]
- Really silly: List comprehension with state.
Some nice/interesting posts of mine:
zip_equal
(like Python 3.10's zip(..., strict=True)
.itertools.groupby
explained.[2, a, b, 1, c, 3, d, e, f]
⇒ [[2, a, b], [1, c], [3, d, e, f]]