Ad
Code
Diff
  • def solution(param: list) -> bool:
        return len([x for x in param if x is True]) > 1
    • def solution(param: list) -> bool:
    • return list(map(lambda e: e is True, param)).count(True) >= 2
    • return len([x for x in param if x is True]) > 1