t= (('a', 40),('b', 86),('c', 1), ('d',9))
t=tuple(sorted(list(t), key=lambda x:x[1]))
print(t)
Answers
Answered by
0
Output :-
Syntax Error comes in your program.
Similar questions