a = ('one', 'two')
b = ('ten', 'ten')
z = [('four', 'five', 'six'), ('one', 'two', 'twenty')]
I'm trying 1) see if the first two elements in my tuples (a, or b, for example), match up with the first two elements in my list of tuples (z). 2)if there is a match, I want to return the third element of the tuple
so i want to get
myFunc(a,z) -> 'twenty'
myFunc(b,z) -> None