sum(strings)

Lulu of the Lotus-Eaters mertz at gnosis.cx
Fri Jun 20 03:10:36 EDT 2003


|I am talking about sum(['x', 'y']) -> 'xy'.

sum_strings = lambda *s: ''.join(s)

--
mertz@  | The specter of free information is haunting the `Net!  All the
gnosis  | powers of IP- and crypto-tyranny have entered into an unholy
.cx     | alliance...ideas have nothing to lose but their chains.  Unite
        | against "intellectual property" and anti-privacy regimes!
-------------------------------------------------------------------------






More information about the Python-list mailing list