summaryrefslogtreecommitdiff
path: root/progs/a295.py
blob: 7a18a0c6607b2caf3d104460347fc06b5159899c (plain)
1
2
3
4
def last(n):
   return n[-1]
def sort_list_last(tuples):
  return sorted(tuples, key=last)