Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31919

Re: can we append a list with another list in Python ?

References <CAFqGZRHGgN_tEinBku9cj78D_VawZgP3F8k5+FKen0mW3AeVbg@mail.gmail.com>
Date 2012-10-23 18:49 +1100
Subject Re: can we append a list with another list in Python ?
From Alec Taylor <alec.taylor6@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2651.1350978566.27098.python-list@python.org> (permalink)

Show all headers | View raw


Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> [1,2,3,4,5] + [99,88,77,66,0]
[1, 2, 3, 4, 5, 99, 88, 77, 66, 0]

On Tue, Oct 23, 2012 at 6:36 PM, inshu chauhan <insideshoes@gmail.com> wrote:
> can we append a list with another list in Python ? using the normal routine
> syntax but with a for loop ??
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: can we append a list with another list in Python ? Alec Taylor <alec.taylor6@gmail.com> - 2012-10-23 18:49 +1100

csiph-web