Re: Code question

2008-04-21 Thread Matimus
On Apr 21, 4:16 pm, George Sakkis <[EMAIL PROTECTED]> wrote: > On Apr 21, 4:42 pm, Matimus <[EMAIL PROTECTED]> wrote: > > > > > On Apr 21, 12:05 pm, <[EMAIL PROTECTED]> wrote: > > > > I've been trying to figure out a way to combine lists similar to how > > > zip() works. The main > > > difference

Re: Code question

2008-04-21 Thread George Sakkis
On Apr 21, 4:42 pm, Matimus <[EMAIL PROTECTED]> wrote: > On Apr 21, 12:05 pm, <[EMAIL PROTECTED]> wrote: > > > > > I've been trying to figure out a way to combine lists similar to how zip() > > works.  The main > > difference though is I want to work with different length lists and combine > > th

Re: Code question

2008-04-21 Thread Mark Wooding
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: > If anyone has time, I was wondering if you could share your thoughts > on whether this is an efficient way to do something like this, if it's > horrible and slow, etc. If your lists are fairly short then your algorithm is probably the best way to d

Re: Code question

2008-04-21 Thread Matimus
On Apr 21, 12:05 pm, <[EMAIL PROTECTED]> wrote: > I've been trying to figure out a way to combine lists similar to how zip() > works. The main > difference though is I want to work with different length lists and combine > them. I came up with > the example below, which returns a list like I'm