I've a list of tuples
Es:
[('a','b','c','d','e'),
('f','g','h','i','l'),
('m','n','o','p','q'),
('r','s','t','u','v'),
('z', 'aa', 'ab', 'ac', 'ad'),
.....]
The length of the tuple is not always the same. In the example is 5 but can change
I've one element (partial tuple) to find.
The length of element is not always the same.
I'm looking for the position of element in tuples.
The length of the element to look for is always less or equal than the length of the tuples.
The order of items to look for is "correct", meaning that cases of type ('m', 'o') does not exist
Es:
find ('m','n')
result 2
find ('z','aa','ab')
result 4