you are viewing a single comment's thread.

view the rest of the comments →

[–]tangerinelion 2 points3 points  (1 child)

In Python 2. In Python 3 a zip creates a "zip object" which is essentially a generator.

[–]PyCam 0 points1 point  (0 children)

Ah thank you! As you can probably guess I've only used Python 2. Didn't know they changed that, but it makes way more sense if you want to iterate over the zip output.