Exercise: Map function IV
Here, we extract the length of each word in the words list using list comprehension. Achieve the same using the
map()
function.Premium
Python
Setting up Python environment...
Output
map()
function.
Setting up Python environment...