zip
allows you to aggregate elements from each of the iterables. However, zip
doesn’t show all pairs of elements when iterables have different lengths.
To aggregate iterables of different lengths, use itertools.zip_longest
. This method will fill missing values with a specified value.