Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
itemgetter and groupby solution in Speedy category for Group Equal consecutive by PythonWithPI
def group_equal(els):
from itertools import groupby
from operator import itemgetter
return list(map(list,map(itemgetter(1),groupby(els))))
Feb. 17, 2019
Comments: