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.
but i could not '__'
Thanks for that explanation, silly me.
Hi - please don't use issue tag, that is reserved for problems with the kata itself, not problems with your code/debugging.
I just solved in Python and it works fine. If you are sure you are failing on basic test #7, then that means you are failing on this input:
[0,2,0,0,0,0,3,4,5,0,0,0,0,0]
It's up to you to debug, but looking at your code: I recommend you re-read the first line of the description again to see if you are missing another condition for this kata.
More generally, here's a very useful troubleshooting tip: you can always print the test input by adding the following line in your code:
now you can see the test cases you fail in the console. Hope that helps.
You can read more about this here:
https://docs.codewars.com/training/troubleshooting/#error-messages-and-printing-your-inputoutput
Help! i'm fail in Basic tests 7* (7 of 8 Assertions), a don't know where am i going wrong or what kind of input comes in test 7 that is breaking me.
I've just understood, thank
I know, but we have 2 sequences where zero appears 4 times in a row or more
What exactly should be fixed? The tests are fine.
Your code is wrong. It returns 2 for this input:
[0, 2, 0, 0, 0, 0, 3, 4, 5, 0, 0, 0, 0, 0]
The first 0 there is a sequence with only 1 element.pls fix tests for Python