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.
Can't pass the tests, but each time i can get the right odd int.
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()