Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
all(iterable) solution in Speedy category for All the Same by David_Jones
def all_the_same(elements):
return all(elements[i] == elements[i+1] for i in range(len(elements) - 1))
June 15, 2019