Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second: Cast to set and check if the number of set elements is 1 or less solution in Speedy category for All the Same by leggewie
def all_the_same(elements) -> bool:
return len(set(elements)) < 2
May 24, 2021