Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please refer to our video player troubleshooting guide for assistance.

Parallel Iteration With Python's zip() Function (Overview)

Python’s zip() function creates an iterator that will aggregate elements from two or more iterables. You can use the resulting iterator to quickly and consistently solve common programming problems, like creating dictionaries. In this course, you’ll discover the logic behind the Python zip() function and how you can use it to solve real-world problems.

By the end of this course, you’ll learn:

  • How zip() works in both Python 3 and Python 2
  • How to use the Python zip() function for parallel iteration
  • How to create dictionaries on the fly using zip()
Download

Course Slides (.pdf)

297.6 KB
Download

Sample Code (.py)

2.1 KB

Become a Member to join the conversation.