Sorting a list of tuples by the last last elements of the tuple

This commit is contained in:
rasbt 2014-08-02 23:24:12 -04:00
parent b6f54765e7
commit b87aec3ee9

View File

@ -1,5 +1,5 @@
# Sebastian Raschka 09/02/2014 # Sebastian Raschka 09/02/2014
# Sorting a list of tuples by the last last elements of the tuple # Sorting a list of tuples by the last elements of the tuple
# Here, we make use of the "key" parameter of the in-built "sorted()" function # Here, we make use of the "key" parameter of the in-built "sorted()" function