0
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()?
4 odpowiedzi
+ 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... 👍