Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
3-liner: easiest solution in Clear category for Group Equal consecutive by przemyslaw.daniel
def group_equal(data):
from itertools import groupby
return [list(g) for _, g in groupby(data)]
Oct. 29, 2018
Comments: