Ad
  • Custom User Avatar

    When the parameter is_exclusive is False, it means the list should be evaluated as: True or True or True, which is clearly True :P

  • Custom User Avatar

    No problem! I'm glad it worked out :)

  • Custom User Avatar

    hmm. Maybe your output has a trailing space. That could be an issue too. Check that. If it still doesn't work, show me your code.

  • Default User Avatar

    but the second group is not. if there is ANY group of less than 4 zeroes, then the array is NOT 0-plentiful, and you should return 0.

    If EVERY group of zeros is of length >= 4, then you return the number of such groups.

  • Custom User Avatar

    The first value in that error message is what your function returned, not the input value. There are several open issues below for Python, tho. Check mrtp0's one.