8000 Sorting a list of tuples by the last last elements of the tuple · adrianhust/python_reference@b87aec3 · GitHub
[go: up one dir, main page]

Skip to content

Commit b87aec3

Browse files
committed
Sorting a list of tuples by the last last elements of the tuple
1 parent b6f5476 commit b87aec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

howtos_as_py_files/sort_list_of_tuples_by_ele.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Sebastian Raschka 09/02/2014
2-
# Sorting a list of tuples by the last last elements of the tuple
2+
# Sorting a list of tuples by the last elements of the tuple
33

44

55
# Here, we make use of the "key" parameter of the in-built "sorted()" function

0 commit comments

Comments
 (0)
0