Using sum solution in Clear category for Majority by erykcoapl
def is_majority(items: list) -> bool: return sum(items) > len(items)//2
March 16, 2021