Ad
  • Default User Avatar

    @elisseiti1 read the description

  • Custom User Avatar

    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.

  • Default User Avatar

    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!

  • Default User Avatar

    Absolutely the same. All tests are passed, but it displays the error above. Please notify if you solve it somehow!

  • Default User Avatar

    it seems that the key '...---...' is not in the dots_to_morse dictionary amirite