Assuming I have a structure like this:
a = [
('A',
['D',
'E',
'F',
'G']),
('B',
['H']),
('C',
['I'])
]
How can I transform it into:
a = [
('A', 'D'),
('A', 'E'),
('A', 'F'),
('A', 'G'),
('B', 'H'),
('C', 'I'),
]
Thanks for your time!