Course
Simulator
More
Premium
Log in
Python Function Reference
Functions
map
map
Return an iterator that applies function to every item of iterable, yielding the results.
Python 3.13
map
(
function
,
iterable
,
.
.
.
)
Examples
Python 3.13
>>
>
list
(
map
(
lambda
x
:
x
*
2
,
[
1
,
2
,
3
]
)
)
[
2
,
4
,
6
]