Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created May 29, 2016 23:29
Show Gist options
  • Save chuck0523/e9ae199fba06b1940eeef9221a2528d7 to your computer and use it in GitHub Desktop.
Save chuck0523/e9ae199fba06b1940eeef9221a2528d7 to your computer and use it in GitHub Desktop.
a = [i for i in 'test']
b = [i for i in 'test']
print(list(zip(a, b))) # [('t', 't'), ('e', 'e'), ('s', 's'), ('t', 't')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment