Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
When the parameter
is_exclusive
isFalse
, it means the list should be evaluated as:True or True or True
, which is clearlyTrue
:PNo problem! I'm glad it worked out :)
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.
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.
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.