Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
all(the_same) solution in Clear category for All the Same by flpo
def all_the_same(elements):
try:
first, *rest = elements
the_same = (x == first for x in rest)
return all(the_same)
except: return True
Jan. 29, 2018
Comments: