Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.02 KB

README.md

File metadata and controls

18 lines (14 loc) · 1.02 KB

Morse

Morse is a Python program that encrypts text written in english into morse code and also decrypts morse codes to english.

Usage

import main

solution = main.Solution()
solution.run(False,"The wizard quickly jinxed the gnomes before they vaporized.") # return '- .... .   .-- .. --.. .- .-. -..   --.- ..- .. -.-. -.- .-.. -.--   .--- .. -. -..- . -..   - .... .   --. -. --- -- . ...   -... . ..-. --- .-. .   - .... . -.--   ...- .- .--. --- .-. .. --.. . -.. .-.-.- '
solution.run(True, "- .... .   .-- .. --.. .- .-. -..   --.- ..- .. -.-. -.- .-.. -.--   .--- .. -. -..- . -..   - .... .   --. -. --- -- . ...   -... . ..-. --- .-. .   - .... . -.--   ...- .- .--. --- .-. .. --.. . -.. .-.-.-") # returns "the wizard quickly jinxed the gnomes before they vaporized."

Project status

Project development has stopped completely

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.