Skip to content

Instantly share code, notes, and snippets.

@tmiz
Created March 23, 2014 15:17
Show Gist options
  • Save tmiz/9724432 to your computer and use it in GitHub Desktop.
Save tmiz/9724432 to your computer and use it in GitHub Desktop.
morse = {".-":"A","-...":"B","-.-.":"C","-..":"D",".":"E","..-.":"F","--.":"G","....":"H","..":"I",".---":"J","-.-":"K",".-..":"L","--":"M","-.":"N","---":"O",".--.":"P","--.-":"Q",".-.":"R","...":"S","-":"T","..-":"U","...-":"V",".--":"W","-..-":"X","-.--":"Y","--..":"Z",".----":"1","..---":"2","...--":"3","....-":"4",".....":"5","-....":"6","--...":"7","---..":"8","----.":"9","-----":"0"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment