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.
Still there's the same problem with Python3, there's print() expression issue in test,
as well as another one i get, if needed:
Traceback (most recent call last):
File "main.py", line 14, in
testAndPrint(decodeMorse(decodeBits('1')), 'E')
File "/home/codewarrior/solution.py", line 6, in decodeMorse
return ' '.join(''.join(MORSE_CODE[letter] for letter in word.split(' ')) for word in morseCode.strip().split(' '))
File "/home/codewarrior/solution.py", line 6, in
return ' '.join(''.join(MORSE_CODE[letter] for letter in word.split(' ')) for word in morseCode.strip().split(' '))
File "/home/codewarrior/solution.py", line 6, in
return ' '.join(''.join(MORSE_CODE[letter] for letter in word.split(' ')) for word in morseCode.strip().split(' '))
KeyError: '1'