a = [[3, (1, 2, 3, 4, 5)], [3, (5, 4, 3, 2, 1)]]
b = [[3, (18, 24, 21, 2, 3)], [3, (3, 4, 76, 7, 8)]]
How can I access (1, 2, 3, 4, 5)
, (5, 4, 3, 2, 1)
, (18, 24, 21, 2, 3)
and (3, 4, 76, 7, 8)
?
I have to search for this elements in different lists.
For example: Is (3, 4, 76, 7, 8)
in list a
and if yes, what are the concrete numbers for this element?
( In that case [3, (3, 4, 76, 7, 8)] ).
Thanks in advance.