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.
fixed
Minor issue: for Python's initial solution (the generated code when you first start solving), you missed a colon after 'def gordon(a)' (should be 'def gordon(a):')
This comment is hidden because it contains spoiler information about the solution
no answer from OP
what does "is missing the function name" mean, could you be more precise ? is this about the sample tests or the full tests ?
One of the test cases in the test is missing the function name and therefore always returns false because the argument list and the result list are different
Thanks for the comment. Much appreciated!
There are some kata similar to what you suggest. Check out these:
"Check and Mate?"
"Is the King in check ?"
"One line task: Is the King in check ?"
"Explain the Algebraic Chess Notation"
"Find the Final Position"
Enjoy!
Hi, very nice kata, love it :)
Please please please make a harder version (either normal chess or atomic chess or even both) (suggestions to make it harder below)\
The random tests don't work (at least in Python), Anything works (def calc_type(a, b, res): pass - passes all 100 of the random tests)
from string import ascii_lowercase will give you a variable (type string) called ascii_lowercase which equals 'abcdef...wxyz' (ascii_uppercase works the same way)
Decent data searching exercise.
Put a dictionary in the 'preloaded' tab, it'll make people's lives much easier
No, in the tests. You know exactly what data you're generating, you don't need to use a reference solution to verify it.
I'll mark the issue as resolved for now so that I can re-publish the kata
I fixed the first problem (added arguments), but when you say refsol do you mean the 'complete solution'? (Am I allowed to leave it blank?)
Loading more items...