consider the following python 'code'. it demonstrates the concept of a multi-list comprehension:
start = ['a', 'b', 'c']
middle = ['r', 'a', 'a']
finish = ['t', 'r', 't']
l = [s.upper() + m + f for s in start,
m in middle,
e in finish]
>>> print l
['Art', 'Bar', 'Cat']
Alas, the above code does not work in python.
What would be a good approximation of multi-list comprehension in python?
Please discuss what happens when the lists have different lengths.