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

Publié le: 22 juillet 2023
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne Python's map() Function Explained | Python | Map Function | Pratap Sharma durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Learn with Pratap 22 juillet 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 68 fois et il a aimé 9 téléspectateurs. Bon visionnage!