0
Can anyone solve this from Google python class?
Given a list of non-empty tuples, return a list sorted in increasing order by the last element in each tuple. e.g. [(1, 7), (1, 3), (3, 4, 5), (2, 2)] yields [(2, 2), (1, 3), (3, 4, 5), (1, 7)]
2 Antworten
+ 1
Have you tried solving it?
0
Diego Acero
I did as follows, unable to move forward
https://code.sololearn.com/c3T7G6NL9B4d/?ref=app