🔐

Morse Code Translator

Python119 lines· Encrypts plain text into Morse code and decrypts Morse code back into text using a Morse code dictionary. The main() function runs a hard-coded dem…
Original project by @ZackeryRSmith — view source on GitHub
Ready when you are

Morse Code Translator

Encrypts plain text into Morse code and decrypts Morse code back into text using a Morse code dictionary. The main() function runs a hard-coded demonstration of both operations.

How to run

python main.py

Dependencies

Standard library only.

Pyodide-runnable

Yes — it is a pure-stdlib program with hard-coded input and print() output.

morsecode-translator.py· Python 3.x
107 lines
Console· terminal