Jak iterować listę liczb w Pythonie
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]