top | item 46060955

(no title)

gcbirzan | 3 months ago

There's also itertools.groupby, maybe not much shorter (need to define the keyfunc, sort, then iterate), but it does make the intent obvious.

discuss

order

No comments yet.