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.
It can only remove both sides '0'.
not a kata suggestion
Because there is no problem with the kata (issue), the problem is in your code or you didn't get what you should do (question). When you think there is a problem with the kata, first check how many completions there already are in that language, if there are many, then suspect your code is the culprit. When you're sure there is a problem with the kata, provide the input, the value your code returns and the expected value, or in some cases your code marking your post as having spoiler content and using markdown formatting (specially in Python where indentation matters)
I already told you, East, East, etc. is not the input, that's what your function returned. Also note, directions are all capitalized like
EAST
,WEST
, etc. So the value you showed was generated by your code.The first value in
A should equal B
is the value your function returns and the other is the expected value, if you want to know what was the input value, print it before doing anything else. Also, don't mutate the input, it could lead to wrong expected values in some tests.This comment is hidden because it contains spoiler information about the solution