The zip() operator outputs tuples containing 1 element from the first and
one element from the second iterator. The first iterator is leading, so when
the first iterator is done, the output iterator is done. When the second iterator
is 'shorter', the tuples will contain undefined as the second element.
The zip() operator outputs tuples containing 1 element from the first and one element from the second iterator. The first iterator is leading, so when the first iterator is done, the output iterator is done. When the second iterator is 'shorter', the tuples will contain undefined as the second element.
Example