Как итерация через список чисел в Python
a = [(1, u'abc'), (2, u'def')]
[i[0] for i in a]
# OUTPUT:
[1, 2]
I DON'T KNOW WHAT I'M DOING!!!!
a = [(1, u'abc'), (2, u'def')]
[i[0] for i in a]
# OUTPUT:
[1, 2]