Skip to content

Instantly share code, notes, and snippets.

Created December 13, 2012 03:55
Show Gist options
  • Save anonymous/4273879 to your computer and use it in GitHub Desktop.
Save anonymous/4273879 to your computer and use it in GitHub Desktop.
a = [1, 2, 3]
h = {}
h['x'] = a[0]
h['y'] = a[1]
h['z'] = a[2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment