Login
From:
learnbyexample
(Uncensored)
subscribe
Python tip 30: zip() function
https://learnbyexample.github.io/tips/python-tip-30/
links
backlinks
Roast topics
Find topics
Find it!
You can use the zip() builtin function to iterate over two or more iterables simultaneously. In every iteration, you'll get a tuple with an item from each of the iterables. Here's an example: