Gundala Viswanath wrote:
> I have the following list of lists that contains 6 entries:
>
> lol = [['a', 3, 1.01], ['x',5, 1.00],['k',7, 2.02],['p',8, 3.00],
> ['b', 10, 1.09],
>['f', 12, 2.03]]
>
> each list in lol contain 3 elements:
>
> ['a', 3, 1.01]
> e1 e2 e3
>
> The list abo
I have the following list of lists that contains 6 entries:
lol = [['a', 3, 1.01], ['x',5, 1.00],['k',7, 2.02],['p',8, 3.00],
['b', 10, 1.09],
['f', 12, 2.03]]
each list in lol contain 3 elements:
['a', 3, 1.01]
e1 e2 e3
The list above is already sorted according to the e2 (i.e, 2nd