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.
0 + 0 + 1
is 1, not 0.I am failing 2-5 test cases for which my solution returns the correct value on my machine and on REPLIT. I printed the return value and the log on these says false, but the result is 'expect: false, got: true'. I don't understand, why my solution always returns the correct value according to the log but a few are counted as incorrect?
Can someone approve this Python translation?
The author has been MIA.
There are no solid checks on this requirement; the only case that kinda tests for it
[0]
, which is trivial and really can't catch it.Please add test cases like
[1,3,6,10,15,-12]
.