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.
@elisseiti1 read the description
I believe there is an error with this test case. It says that the morse code word characters are seperated by space. But in this case, they are not.
You're not passing all tests, you're passing all tests up until the one that doesn't pass.
Same as always, use print to find out what you did. Check your assumptions. There is a key error. Where does the key come from? Is it a valid key? Does the description say whether that is a valid key? And if it is valid, then is it defined somewhere? Who defines it, where? What things are defined? Print them out. Read the description from top to bottom to make sure nothing was missed, indeed it specifically mentions this particular key.
@Roman_Roman better if you ask about how to debug your code than to ask for the bug you both have to be figured out for you. If you are creating bugs then you'll want to be able to fix them too!
Absolutely the same. All tests are passed, but it displays the error above. Please notify if you solve it somehow!
it seems that the key
'...---...'
is not in thedots_to_morse
dictionary amirite