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.
This comment is hidden because it contains spoiler information about the solution
OK.
I opened a private channel. You should see it on the left panel: "ALL CONVERSATIONS".
You can go to https://gitter.im/Codewars/codewars.com and try to open a private channel.
Sorry, I didn't have time to check it earlier. Anyway, your
d1
is missing mappings in some cases.Here is the
d1
from one of your failures:{'y': 'w3', 'v': 'm10', 'u': 'm9', 'z': 'z1', 'p': 'm4', 'w': 'w1', 't': 'm8', 'm': 'm1', 's': 'm7', 'x': 'w2', 'o': 'm3', 'k': 'k1', 'n': 'm2', 'l': 'l1', 'q': 'm5', 'r': 'm6'}
And your code tries to map a
b
from it.Just add
print(d1)
to your code and you'll see on your own eyes:Good luck with fixing it!
A few notes :
Note you can add your own tests cases or just run the full solution.
@vish4luffy, could you please format your code?
...
To increase the readability of comments or descriptions, see this page in the github wiki.
@vish4luffy, I checked the Python solution and it works fine for
hamster_me('k','s')
. Additionally 109 were able to solve it without issues in Python. It's more likely some bug in your code. Anyway paste your code in a comment and mark with a spoiler flag and we can investigate what your problem is ;)no
just put it in a comment, use proper markfown formatting and check 'mark as having spoiler content'
And how do you know it's a kata issue?
You have to post your code in a comment if you want anyone to see it.