Fifth solution in Clear category for All the Same by tom-tom
def all_the_same(elements): return elements[1:] == elements[:-1]
Jan. 31, 2018
Comments: