Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for All the Same by nagaykin710
from typing import List, Any
def all_the_same(elements: List[Any]):
return len(set(elements)) <= 1
Nov. 20, 2018