A Morse Code generator

Question P4.2.4

Use the dictionary of Morse code symbols given in the file morse.py to write a program which can translate a message to and from Morse code, using spaces to delimit individual Morse code "letters" and slashes ('/') to delimit words. For example, 'PYTHON 3' becomes '.--. -.-- - .... --- -. / ...--'.


Solution P4.2.4