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.
filter() returns an iterator, so it has to be turned into a list to match the output format
6
is the expected value of the previous test, for that test it's-1
. If you're printing the input, it's shown before the test result, not after.Test data No.7 for Python seems to be incorrect. The correct output for this data set "range(100)" is -1 (stated in the test function) while the checking system said the correct answer should be 6. What may be the reason here?