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.
that's correct. Multiplying an int with a bool returns the int if the bool is True, and 0 if it's False.
This comment is hidden because it contains spoiler information about the solution
@monkey-bidness Please read this: https://docs.codewars.com/training/troubleshooting
Your code is wrong. Berore posting issues look at the top of the page: 15629 people passed the Python kata; when it is this high chances are your code is wrong: not a kata issue.
Can't attach screenshot, but getting a fail with the following:
input: dirReduc(['NORTH', 'EAST', 'NORTH', 'SOUTH'])
output: ['NORTH','EAST']
! ['NORTH', 'EAST', 'NORTH', 'SOUTH'] should equal ['NORTH', 'EAST']
It's a question, not an issue. 15606 people passed the Python kata so I am sure there is no problem in the tests. Issues are for problems in the kata itself, not for problems in your code.
Print the input!
This comment is hidden because it contains spoiler information about the solution