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
'.--. -.-- - .... --- -. / ...--'.
To access solutions, please obtain an access code from Cambridge University Press at the Lecturer Resources page for my book (registration required) and then sign up to scipython.com providing this code.