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.
There are submissions which fail the description. I've seen a couple that would fail on an array of [-2], just because if there's only 1 element, they return that element. The details clearly state for all negative numbers, return 0. Basically, you cannot return a negative and the tests do not explicitly include an array with only negative results, even though that's explicitly stated in the details.
You can either specify that the Python version must return a different item or ask Jake (afterall, he has the power!) to change the code (possibly just giving him what needs to be copy&pasted).
I realize that now. It was a merged solution and I didn't catch it when I approved it. Not sure if I can change it at this point.
But since there is no test for this case you could submit a solution that doesn't return 0 if all numbers in the list are negative.
"If the list is made up of only negative numbers, return 0 instead."