What is map( ) function in python? Python Short Series Ep. 122 #python #coding #programming

preview_player
Показать описание
Hello Dear Coders,

In this Episode 122 of the Python Short Series, we will learn about the map function in python.

In this concise and engaging video, we'll learn what filter function is, how to define and use map function, and how it is super useful while programming.
So stay tuned....

#python #programming #coding
Рекомендации по теме
Комментарии
Автор

maybe a more useful example could be interesting. In the case showed in the video using numpy arrays and **2 is much faster and cleaner.

Zappa__
Автор

Plz take atleast 2-3 examples from easy to advance example

CodeWithKushwaha
Автор

map and filter should never be used, generator comprehension is always much more readable

royler
Автор

Find map and filter to be illegible given you have to wrap the result in a list or collection you desire.

alexandersnow
Автор

Can't you just do this?
squared_numbers = [number**2 for number in numbers]

axewtv