2010-05-05 5 views

ответ

7
>>> [(i, j) for i, _, k in myList for j in k] 
[('Foo', 1), ('Foo', 2), ('Foo', 3), ('Bar', 'i'), ('Bar', 'j')]