Skip to content

Instantly share code, notes, and snippets.

@tinkerstudent
Created October 2, 2016 20:45
Show Gist options
  • Select an option

  • Save tinkerstudent/04e7e9769d42069e8ee222ec6119d08c to your computer and use it in GitHub Desktop.

Select an option

Save tinkerstudent/04e7e9769d42069e8ee222ec6119d08c to your computer and use it in GitHub Desktop.
inp = ['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',
'-','0','1','2','3','4','5','6','7','8','9']
out = ['2','2','2','3','3','3','4','4','4','5','5','5','6','6','6','7','7','7','7','8','8','8','9','9','9','9',
'-','0','1','2','3','4','5','6','7','8','9']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment