Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple set solution in Clear category for All the Same by Pouf
from typing import List, Any
def all_the_same(elements: List[Any]) -> bool:
return len(set(elements)) < 2
June 28, 2020
Comments: