nums=[1,2,3,4,5,6] for index in range(len(nums)): print(nums[index])
a = [(1, u'abc'), (2, u'def')] [i[0] for i in a] # OUTPUT: [1, 2]
for num in [1,2,3,4,5,6]: print(num)