InterviewSolution
Saved Bookmarks
| 1. |
What is a map() function in Python? |
Answer»
Output: 20, 40, 60, 80 In the above code segment, we are passing the addition() function and number as parameters to the map() function. Now, the addition() function will be applied to every element of the number tuple, each ITEM value is ADDED with the same item value and the result generated will be stored in the res list. |
|