Skip to content

Instantly share code, notes, and snippets.

View Prakashsharma9211's full-sized avatar
🎯
Focusing

prakash sharma Prakashsharma9211

🎯
Focusing
View GitHub Profile
@ehedaoo
ehedaoo / List1i.py
Created May 4, 2017 04:48
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)]
# 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)]