Python provides list comprehensions that provide map/filter type functionality. Can I do a flatMap aka bind operation with this? I\'ve seen solutions with itertools or other
[y for x in [1, 2, 3] for y in [x, 10*x]]
Just add another for to the list comprehension.
for