Pairs the elements of two lists to create a list of two-element lists. When the input lists are of different sizes, the final list has the same size as the shortest one.
Usage | Returns |
---|---|
List.zip(other) | List |
Argument | Type | Details |
---|---|---|
this: list | List | |
other | List |
Examples
JavaScript
// Your example goes here!
Python
# Your example goes here!