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.
Python
Setting up Python environment...
Output