#!/usr/bin/python3 l = {'b':90,'a':80,'c':100 } print(sorted(l)) print(sorted(l.values())) print(sorted(l,key=lambda key:l[key])) print(sorted(zip(l.values(),l.keys()))) print(sorted(zip(l.keys(),l.values())))