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.
well i learned a new word smart aleck thank u :)
i dont remember why but that syntax is not difficult at all. so i think its worth trying
Seriously not trying to be a smart aleck here. It seems like you've just improved an inefficient approach. You're level 3 so beyond me python-wise. What made you choose this approach over ord()?
DON'T HARDCODE yourself, my friend.
how about this?
Hard coding exploits you inside.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
can someone help me pass the excruciatingly long list test cases?
@kuminin then how would you add the two strings if you don't parse them?
How should multiple occurrences of letters be handled in the 'code' input?
for example "Dad"
would be the following?
d a d
e b
f c
g
h
i
j
k
l
m
n
n
...
PRESET_COLORS
is a predefined map as the instructions say, it's not a part of JS core, it's a const/var defined for this kata.Not a kata issue, it's a problem with your code, use Question next time. Have you seen the error code you got in the sample tests?
There is your problem.
This comment is hidden because it contains spoiler information about the solution
Define "copy/paste".
is copy/paste not supported yet?