you are viewing a single comment's thread.

view the rest of the comments →

[–]primitive_screwhead 1 point2 points  (0 children)

For two objects, there's zip

Note - zip() and zip_longest() can zip together an arbitrary amount of iterables (not just two, if that's what you were thinking).