# Test that min & max work on dicts d = {'foo':2, 'bar':3} print d print min(d) print max(d)