Python's map() Function Explained | Python | Map Function | Pratap Sharma

Published: 22 July 2023
on channel: Learn with Pratap
68
9

Python's map() Function Explained | Python | Map Function | Pratap Sharma

map() function returns a map object(which is an iterator) of the results after applying the given function to each item of a given iterable (list, tuple etc.)

Map Function - map(fun, iter)
Returns a list of the results after applying the given function to each item of a given iterable (list, tuple etc.)

Parameters:
fun: It is a function to which map passes each element of given iterable.
iter: It is a iterable which is to be mapped.


   • AWS Solutions Architect Associate  

You can find my personal vlogs at    / @withpratap  

Copyright © Pratap Sharma All Rights Reserved

#learnwithpratap #python #coding #programming #map #pythonfunction


On this page of the site you can watch the video online Python's map() Function Explained | Python | Map Function | Pratap Sharma with a duration of hours minute second in good quality, which was uploaded by the user Learn with Pratap 22 July 2023, share the link with friends and acquaintances, this video has already been watched 68 times on youtube and it was liked by 9 viewers. Enjoy your viewing!