What will be the output of following:-
L = [10,12,14,20,22,24,30,32,34]
a :- L1 [3:-3]
b:- L1 [3:30]
c:- L1 [-15, 7]
Answers
Answered by
2
Write a Python program to get a list, sorted in increasing order by the last element in each tuple from a given list of non-empty tuples. Go to the editor
Sample List : [(2, 5), (1, 2), (4, 4), (2, 3), (2, 1)]
Expected Result : [(2, 1), (1, 2), (2, 3), (4, 4), (2, 5)]
Similar questions