Primary
map() ⚬ᵖʸ|Documentation|1st|20251021183236-00-⌔
Built-in Functions — Python 3 documentation#map
map(function, iterable,/, ﹡iterables, strict=False)Return an iterator that applies function to every item of iterable, yielding the results. If additional iterables arguments are passed, function must take that many arguments and is applied to the items from all iterables in parallel. With multiple iterables, the iterator stops when the shortest iterable is exhausted. If strict is
Trueand one of the iterables is exhausted before the others, aValueErroris raised. For cases where the function inputs are already arranged into argument tuples, seeitertools.starmap().Changed in version 3.14: Added the strict parameter.
Printed 2026-06-28.
(echo:: @ ᯤ)
Link to original
Secondary
• • •