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.
This comment is hidden because it contains spoiler information about the solution
There is the separate kata for real morse code
see https://www.codewars.com/kata/54acd76f7207c6a2880012bb/train/python
This is a rather simple kata that doesn't take nuances like this into account.
For that, check out the next one:
https://www.codewars.com/kata/decode-the-morse-code-for-real
True, that's not foreseen in this code.
I know it does. It is easy to fix it but guess what, I didn't CARE.
Also dividing integers by 2 is FAST and len() is also FAST.