Re: How to have a list of lists (or array of lists)

2007-04-03 Thread Bruno Desthuilliers
bahoo a écrit : > Hi, > > I want to have many lists, such as list0, list1, list2, ..., each one > holding different number of items. > Is there something like > list[0] > list[1] > list[2] > > so that I can iterate through this list of lists? listoflists = [ [1, 2, 3], ["foo", "bar", "baaz

Re: How to have a list of lists (or array of lists)

2007-04-03 Thread 7stud
On Apr 3, 10:12 am, "bahoo" <[EMAIL PROTECTED]> wrote: > Hi, > > I want to have many lists, such as list0, list1, list2, ..., each one > holding different number of items. > Is there something like > list[0] > list[1] > list[2] > > so that I can iterate through this list of lists? > > Thanks! > bah

Re: How to have a list of lists (or array of lists)

2007-04-03 Thread irstas
On Apr 3, 7:12 pm, "bahoo" <[EMAIL PROTECTED]> wrote: > Hi, > > I want to have many lists, such as list0, list1, list2, ..., each one > holding different number of items. > Is there something like > list[0] > list[1] > list[2] > > so that I can iterate through this list of lists? > > Thanks! > baho