How can I group equivalent items together in a Python list?,"[list(g) for k, g in itertools.groupby(iterable)]"