Joining lists

Siggy Brentrup bsb at winnegan.de
Wed Jan 31 06:38:15 EST 2001


jurgen.defurne at philips.com writes:

> Hello, list members,
> 
> Is there a simple way of joining two list to form only one list, like :
> 
> [1, 5, 6, 4] <join operation> [4, 6, 7] -> [1, 5, 6, 4, 4, 6, 7]

>>> [1, 5, 6, 4] + [4, 6, 7]
[1, 5, 6, 4, 4, 6, 7]

HTH
  Siggy





More information about the Python-list mailing list