Ad
  • Default User Avatar

    Can't pass the tests, but each time i can get the right odd int.

  • Default User Avatar

    I get the same error "Extra zeroes handling" when I submit without known what to do next, also I cann't get the 10-th test case to find out what's wrong with my code.
    splited_words = morseCode.split(' ')
    decoded_string = ''
    for word in splited_words:
    splited_characters = word.split(' ')
    for ch in splited_characters:
    decoded_string += MORSE_CODE[ch]
    decoded_string += ' '
    return decoded_string.strip()