Given a list with pairs, sort on the first element
x = [ (3,6),(4,7),(5,9),(8,4),(3,1)]
Answers
Answered by
0
x=(3,4,5,8,3)
I think this will help you
Similar questions