Ad
Code
Diff
  • def solution(param):
        return sum(p is True for p in param) > 1
    • def solution(param):
    • if sum([i for i in ([p is True for p in param])]) <= 1:
    • return False
    • else:
    • return True
    • return sum(p is True for p in param) > 1