Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #10988
| References | <CAN1Fwxcdtt0u_TT=civMes1hA2qvfkH2YckES7B7qRE++DXzJQ@mail.gmail.com> <CAPTjJmo41CsrJwmVKXspeLuJ-ZPBKQOomXfesEFSpP5QkyHPAQ@mail.gmail.com> <CAOiUTY+TN9KosabE1vpgwr19BtSavUCBfqc=keBbGGyPCcxTTw@mail.gmail.com> |
|---|---|
| Date | 2011-08-06 16:53 -0400 |
| Subject | Re: how to separate a list into two lists? |
| From | David Robinow <drobinow@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1998.1312664023.1164.python-list@python.org> (permalink) |
On Sat, Aug 6, 2011 at 1:23 PM, Kabie <kabie2011@gmail.com> wrote: > No. > L1, L2 = zip(*L) Not quite. That makes L1 & L2 tuples. L1, L2 = zip(*L) L1 = list(L1) L2 = list(L2) ???
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: how to separate a list into two lists? David Robinow <drobinow@gmail.com> - 2011-08-06 16:53 -0400
csiph-web