Skip to content

Simple Python script to encode text into Morse code and decode Morse code back to text.

Notifications You must be signed in to change notification settings

danboy-lab/morse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Morse Encoder / Decoder

Simple Python script to encode text into Morse code and decode Morse code back to text.

Run:

python main.py

Choose: 1 = Encode 2 = Decode

Rules:

  • Letters are separated by spaces (Decode option)
  • Words are separated by /
  • Invalid characters are replaced with ?

Example:

Text: Hello World!

Morse: .... . .-.. .-.. --- / .-- --- .-. .-.. -.. -.-.--

Requirements:

  • Python 3.8+

About

Simple Python script to encode text into Morse code and decode Morse code back to text.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages