This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Write a Python program to get a list, | |
# sorted in increasing order by the last element | |
# in each tuple from a given list of non-empty tuples. | |
# Sample List : [(2, 5), (1, 2), (4, 4), (2, 3), (2, 1)] |