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.
Make a fork, add the tests you want. And you're contradicting yourself saying how to pass the random tests. How is that not "giving any meaningful information about how to solve the problem"?
This comment is hidden because it contains spoiler information about the solution
Hi, read this: https://docs.codewars.com/training/troubleshooting/#print-input
Hey guys! How can we see the inputs of the tests, which are not passed? I got 6 random test failed and can't understand what's wrong with the code
I have the same problem?
TY!
The test is:
The problem is tests using
test.expect
are hardly redable (I believe those tests should be rewritten).test.expect
checks if its first argument isTrue
. If it is not, the test fails and the message (the second argument) is displayed.So actually this test checks that
(not is_valid_walk(['w'])
is true <≃>is_valid_walk(['w']
is false.Can anyone please explain why "not is_valid_walk(['w'])" should return False but not True?