Iyer wrote:
> I have 2 lists:
>
> List 1 has lists in it, such as
>
> list1 = [[1,'A'],[2,'B'],[3,'C'],[4,'D']]
>
> There is another list2 such as
>
> list2 = [[1,'AA'],[3,'CC'], [4,'DD']]
>
> For eg,
>
> I wish to iterate over both the lists and produce the output
>
> a = [[1,'A'],[1,'AA']]
On 29/06/07, Iyer <[EMAIL PROTECTED]> wrote:
> I have 2 lists:
>
> List 1 has lists in it, such as
>
> list1 = [[1,'A'],[2,'B'],[3,'C'],[4,'D']]
>
> There is another list2 such as
>
> list2 = [[1,'AA'],[3,'CC'], [4,'DD']]
>
> For eg,
>
> I wish to iterate over both the lists and produce the output
I have 2 lists:
List 1 has lists in it, such as
list1 = [[1,'A'],[2,'B'],[3,'C'],[4,'D']]
There is another list2 such as
list2 = [[1,'AA'],[3,'CC'], [4,'DD']]
For eg,
I wish to iterate over both the lists and produce the output
a = [[1,'A'],[1,'AA']]
b = [[2,'B']]
c = [[3,'C'],[3,'CC']]
d =