Skip to content

iter::product

product(items)
product(items, repeat: Integer)

ParameterTypeDescription
itemsIterable
(optional) repeatInteger

Returns

(Generator) The cartesian product of an Iterable.