I am using a list of list as follows:
L = [['a', 4], ['b', 2], ['c', 13]]
I want to generate a new list for all the numbers which are in the second position in each set of the list:
L = [4, 2, 13]
Is there any shortcut in python to get the above list?