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.
Read this: https://docs.codewars.com/training/troubleshooting/#print-input
None of those two values is the input.
(python)
In my case I am returning
[positive count, negative sum]
but I do not understand some failed tests I.E:❌
[10, -50] should equal [8, -50]
How is it returning [8, -50] where as I understand it sould return [1, -50]
P.D: My code is not finished nor right. Just asking about this failed test 😅
Can someone explain this for me? Thanks!
No, your code is wrong:
Your code is returning sum of positives / sum of negatives.
Not a kata issue, nor the right way of raising one. Please read this: https://docs.codewars.com/training/troubleshooting/