Your task is to encrypt the text message using the Morse code. The input text will consist of letters (in uppercase and lowercase), numbers and whitespaces. There won't be any special characters ('&', '?', '#' etc.)
You need to use 3 spaces between words and 1 space between each letter of each word.
Input: The secret message as a string.
Output: The same string, but encrypted.
morse_encoder("some text") == "... --- --...
For cryptography and spy work.
0 < len(text) < 50
Only English letters (in uppercase and lowercase), numbers and whitespaces.