str().join() isn't working

Asun Friere afriere at yahoo.co.uk
Mon Aug 20 21:18:43 EDT 2007


On Aug 21, 4:34 am, kyoso... at gmail.com wrote:
> to concatenate 2 lists to each other before it does the join, ... is
> impossible in Python. The "+" operator is only for addition and for
> two or more strings.

Really?

>>> [1,2,3] + [4,5,6]
[1, 2, 3, 4, 5, 6]




More information about the Python-list mailing list