I have a list as below
list = [(1, 'a'),
(2, 'b'),
(3, 'c'),
(4, 'd'),
(5, 'e')]
I want to get a list
['a', 'b', 'c', 'd', 'e']
I do like this
newlist = []
for i in range(5):
newlist.append(list [i][1])
It's a correct way but I guess there is simpler way, isn't it?