Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1-liner: itertools.groupby solution in Clear category for Group Equal consecutive by Phil15
group_equal = lambda els: [list(group) for i, group in __import__('itertools').groupby(els)]
Nov. 3, 2018
Comments: