Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
What is the benefit of using map() in python?
Since without using map() also we can do the same thing using loops. So why use map()?
3 Antworten
+ 5
Because it's simple, beautiful, functional, lazy, cool, and compact? 😉
+ 1
Tibor Santa got u 😊.
- 1
We use map() instead of loops.. Coz, to shorten the size of the code.. But, it's not good for large projects... 👍