Combining Lists

Emile van Sebille emile at fenx.com
Tue Mar 27 09:32:46 EST 2001


list3 = list1 + list2

--

Emile van Sebille
emile at fenx.com

---------
"Mix" <mix77 at usa.net> wrote in message
news:99q887$hl9$1 at ctb-nnrp2.saix.net...
> How does one take two or more lists and combined them?
> For example, suppose one has the following 2 lists :
>  list1=['1','2']
>   and
>  list2=['3','9,'15']
>
> Now how  does one get the following list
>  list3=['1','2','3','9','15']
> from a combing the two lists (i.e list1 and list2)?
>
> Thanks.
> Mix
>
>





More information about the Python-list mailing list