Ok, well I'm glad no one threw up their hands in horror
to the code I posted.
I'll have to study the alternate solutions offered (thanks!)
Esmail
--
http://mail.python.org/mailman/listinfo/python-list
On 2009-11-30, Esmail wrote:
> I have a list of lists. The number of sublists may vary. The
> sizes of the sublists may also vary. For instance, here I have
> a list with 3 sublists of differing sizes.
>
> [['a', 'b', 'c'], ['d', 'e'], ['f', 'g', 'h', 'i']]
>
> This list will never be any deeper
Esmail wrote:
> Hi,
>
> I have a list of lists. The number of sublists may vary. The sizes of
> the sublists may also vary. For instance, here I have a list with 3
> sublists of differing sizes.
>
> [['a', 'b', 'c'], ['d', 'e'], ['f', 'g', 'h', 'i']]
>
> This list will never be any deeper tha