I have a list of tuple like this:
t= [('A', 3000, '20140304'), ('B', 2000, '20140304'),('DD',3000, '20140304'), ('N', 102, '20140305'), ('S', 136, '20140305'), ('N', 182, '20140305'),('G',136, '20140305')]
I want to find if it has a same price on same date. If it does, return a new list of tuple pair with the name.The output should like this:
[('A','DD'),('S','G')]