update readme with output

This commit is contained in:
Sam Ansari
2016-09-03 23:32:39 -07:00
parent 5a8851422f
commit ccbc7e3977

View File

@@ -1,4 +1,26 @@
MorsePy
=======
# MorsePy
Simple set of python functions to translate alphanumeric characters to morse code and back
Simple set of python functions to translate alphanumeric characters to morse code and back
## Example output
```
--------------------------------------------------------------
Original: THIS IS NUMBER 1 TEST.
Morse: - .... .. ... .. ... -. ..- -- -... . .-. .---- - . ... - .-.-.-
and Back: THIS IS NUMBER 1 TEST.
Valid? Yes
--------------------------------------------------------------
--------------------------------------------------------------
Original: WHAT IS THE MEANING OF LIFE, THE UNIVERSE, AND EVERYTHING?
Morse: .-- .... .- - .. ... - .... . -- . .- -. .. -. --. --- ..-. .-.. .. ..-. . --..-- - .... . ..- -. .. ...- . .-. ... . --..-- .- -. -.. . ...- . .-. -.-- - .... .. -. --. ..--..
and Back: WHAT IS THE MEANING OF LIFE, THE UNIVERSE, AND EVERYTHING?
Valid? Yes
--------------------------------------------------------------
--------------------------------------------------------------
Original: WIERD CHARS # IS !@#$%^&*()<> BLOOP
Morse: .-- .. . .-. -.. -.-. .... .- .-. ... .. ... -.-.-- .--.-. ...-..- .-... -.--. -.--.- -... .-.. --- --- .--.
and Back: WIERD CHARS IS !@$&() BLOOP
Valid? No
--------------------------------------------------------------
```