🔵 🔵 🔵


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 True and one of the iterables is exhausted before the others, a ValueError is raised. For cases where the function inputs are already arranged into argument tuples, see itertools.starmap().

Changed in version 3.14: Added the strict parameter.

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •