Make a script that coverts a given input String into Morse Code. Morse Code from a String input is a text encoding. A Morse Code is a binary sequence made up of dots and dashes. The application covers the International Morse Code.
- The user input will have a maximum defined length of the message.
- The input will be sanitized to contain only letters A-Z, a-z and numbers 0-9 (is alphanumeric).
- The application should close when the special command
/exit
is received. - The output should appear as a squence of
.
and-
.
cd ./src
python main.py