Morse is a Python program that encrypts text written in english into morse code and also decrypts morse codes to english.
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 development has stopped completely
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.