Ad
  • Custom User Avatar

    you are probably returning 5 as string, but should as int.

  • Custom User Avatar

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

  • Custom 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()