examples/lists/list_comprehension.py
#!/usr/bin/env python
from __future__ import print_function

text = ['aaaa', 'bb', 'ccc ccc']

length_1 = map(lambda x: len(x), text)
print(length_1) # [4, 2, 7]

length_2 = map(len, text)
print(length_2) # [4, 2, 7]


length_3 = [ len(s)  for s in text ]
print(length_3) # [4, 2, 7]

In LISP this would be a mapcar.