Dapatkan Daftar Elemen Pertama Tuples Python
>>> a = [(1, u'abc'), (2, u'def')]
>>> [i[0] for i in a]
[1, 2]
Creepy Cat
>>> a = [(1, u'abc'), (2, u'def')]
>>> [i[0] for i in a]
[1, 2]
firstItem = tupple[0]