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. Remember to hit RESET to see the updated code of example tests.
This comment is hidden because it contains spoiler information about the solution
lol, old school is the best school
I agree with you, however, this is a beginner-level exercise, so I believe that understanding the necessity of using a Map/Dictionary is part of the exercise. Just my perspective
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.
Loading more items...