Last active
June 6, 2020 20:06
-
-
Save jonathanagustin/8316b898c56f3c59957e49e14ee3105d to your computer and use it in GitHub Desktop.
Python way of generating letter-order key-value dictionary
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| order = 'abcdefghijklmnopqrstuvwxyz' | |
| character_order = {c: i for i, c in enumerate(order)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment