Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #32109
| References | (10 earlier) <CA+vVgJWynjNZDnunR5Obkde45c546ejLDmM9FLDXbQ5Ht3+hug@mail.gmail.com> <CAFqGZRE57tJTD8HNvxR0rR43scOydnpLcFNOmykcabFuXAAh4Q@mail.gmail.com> <CA+vVgJWmvZ+ixfunHzse+urq9uaGSq4k7WyZCkjGV4WuuLGGvA@mail.gmail.com> <CAFqGZRFdC9aF3STnX9GAcKmwz8=R5vPih2R+Uex_G5KtcdDyZw@mail.gmail.com> <CA+vVgJW9MVtmw+M=Fp2Qy0=WSLTf0EEY0pA3rm_wuWBnDeTsOQ@mail.gmail.com> |
|---|---|
| Date | 2012-10-25 06:13 -0400 |
| Subject | Re: can we append a list with another list in Python ? |
| From | David Hutto <dwightdhutto@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2831.1351160008.27098.python-list@python.org> (permalink) |
Also, >>> list_1 = [i for i in range(0,5)] >>> list_2 = [i for i in range(5,11)] >>> list_0 = [list_1,list_2] >>> list_0 [[0, 1, 2, 3, 4], [5, 6, 7, 8, 9, 10]] -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: can we append a list with another list in Python ? David Hutto <dwightdhutto@gmail.com> - 2012-10-25 06:13 -0400
csiph-web