Skip to content

Instantly share code, notes, and snippets.

@kcha4github
Created June 25, 2018 16:13
Show Gist options
  • Save kcha4github/463a341beb603a531b370eac61a9e37a to your computer and use it in GitHub Desktop.
Save kcha4github/463a341beb603a531b370eac61a9e37a to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
names = ["alice", "becky", "charlie", "Dave"]
ages = [25, 38, 12]
for name, age in zip(names, ages):
print(name, age)
# alice 25
# becky 38
# charlie 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment