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.
In this kata, you don't need to use up all directions. In the third test case, you can get to the finish point by
("N","N","N","N","N","E","E","E","E","E")
moves. Then the expected answer is "Finish".the test case is wrong, I tried by my hand and found it wrong
In
[1, 2, 3, 4] should equal None
the first value isn't the input, it's the value your function returned, print the input yourself to see what it is.Maybe you have failed to verify the input array? Check that all the values are of type
int
and in [0, 9].There are no fixed tests with those input values in Python, are you sure you're reading the logs ok? The log appears above the test result, not below it.