I have two very large lists of entries and i want to compare both of them for matches...the format of the list is in the form
list1=[('a.gretton', 'k.m.borgwardt'), ('a.gretton', 'd.zhou'), ('a.gretton', 'o.bousquet'),('a.gretton', 'b.scholkopf'),...,('a.gretton', 'm.j.rasch')]
list2=[('a.gretton', 'h.kriegel'), ('a.gretton', 'b.scholkopf'), ('a.gretton', 'j.weston'),..., ('a.gretton', 'a.j.smola')]
I want to compare both the list for matches...in this case the 4th entry of list1 and the 2nd entry of list2 are a match. I want to the match to be printed out/displayed and in-effect all such matches. Help me out please..