list problem

Thorsten Kampe thorsten at thorstenkampe.de
Tue Sep 24 04:08:31 EDT 2002


* Anthony Tuininga
> If you have list comprehensions available, use
>
> [b for a in x for b in a]

What about:
reduce(lambda x, y: x + y, a) ?

Thorsten



More information about the Python-list mailing list