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.
Approved
python new test frame work
There's an error in either the instructions or the random guesses: some of the guesses can indeed be empty strings.
@Elostier Works in the JS version. I haven't tried the Python translation.
Except that knock.toString() doesn't work, neither does console.log(knock.toString()) :\
knock.toString() yields the response "Test didn't pass: Unknown error." Are you saying that's supossed to reveal something?
Can someone write up a brief explination of why the various solutions work?
I enjoyed the challenge of this, but now want to learn from the other solutions?
What is the purpose of knock(knock)()()? Why does it work? Why would I ever want to use that form of a function outside of this kata?
The solutions that rewrote the global variable success, what keeps us from using that on other kata?
What are the best solutions for debugging and tracing? I stumbled upon the wrapping solution which did not give me any information, but somehow called the function twice to solve it. I learned a lot from the solutions that printed out the machine code, where can I find more info on this type of solutions?
CoffeeScript and Ruby translations kumited.