Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39211
| X-Received | by 10.224.18.199 with SMTP id x7mr10813964qaa.1.1361276059613; Tue, 19 Feb 2013 04:14:19 -0800 (PST) |
|---|---|
| X-Received | by 10.49.94.129 with SMTP id dc1mr1104327qeb.22.1361276059532; Tue, 19 Feb 2013 04:14:19 -0800 (PST) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!t2no2576223qal.0!news-out.google.com!f17ni2qah.0!nntp.google.com!dd2no602497qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Tue, 19 Feb 2013 04:14:19 -0800 (PST) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=95.92.175.80; posting-account=37ULnAoAAABw71rR4ndGDrmbiRWlgXUJ |
| NNTP-Posting-Host | 95.92.175.80 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <4abbe91f-a57e-47de-9cf3-5b9574201c83@googlegroups.com> (permalink) |
| Subject | Data Tree urgent help!!!!!! |
| From | anadionisio257@gmail.com |
| Injection-Date | Tue, 19 Feb 2013 12:14:19 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.lang.python:39211 |
Show key headers only | View raw
Hello! I have this lists with information and I need to make a "tree" by associating the information inside the lists. For example: l1 = [apple, pear] l2 = [dog, cat] l3 = [fork, spoon] And I need to make something like this: l4 = [apple, dog, fork] l5 = [apple, dog, spoon] l6= [apple, cat, fork] l7 = [apple, cat, spoon] l8 = [pear, dog, fork] etc... How can I do this? I could use "for" cycles and "if...else" but with larger lists it gets complicated Is there some simple solution that I can use? I hope you could help me
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Data Tree urgent help!!!!!! anadionisio257@gmail.com - 2013-02-19 04:14 -0800
Re: Data Tree urgent help!!!!!! Peter Otten <__peter__@web.de> - 2013-02-19 13:34 +0100
Re: Data Tree urgent help!!!!!! Ana Dionísio <anadionisio257@gmail.com> - 2013-02-19 04:50 -0800
Re: Data Tree urgent help!!!!!! Ana Dionísio <anadionisio257@gmail.com> - 2013-02-19 04:50 -0800
Re: Data Tree urgent help!!!!!! Leo Breebaart <leo@lspace.org> - 2013-02-20 10:18 +0000
Re: Data Tree urgent help!!!!!! Peter Otten <__peter__@web.de> - 2013-02-20 11:46 +0100
Re: Data Tree urgent help!!!!!! Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-20 22:01 +1100
Re: Data Tree urgent help!!!!!! Chris Angelico <rosuav@gmail.com> - 2013-02-20 22:16 +1100
Re: Data Tree urgent help!!!!!! Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-20 22:47 +1100
csiph-web