Use the builtin function zip():
zip()
In Python 3:
z = list(zip(x,y))
In Python 2:
z = zip(x,y)
2.1m questions
2.1m answers
60 comments
57.0k users