Skip to content

Instantly share code, notes, and snippets.

@sterfry1988
Last active June 3, 2016 00:23
Show Gist options
  • Save sterfry1988/4dab27270f026dc9e83bb7bfec59bac6 to your computer and use it in GitHub Desktop.
Save sterfry1988/4dab27270f026dc9e83bb7bfec59bac6 to your computer and use it in GitHub Desktop.
bar = {4:'4', 5:'5', 6:'6'}
foo = {1:1, 2:2, 3:3}
x = zip(foo, bar.values())
for y in x:
print "%s:%s" % (y[0], y[1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment