t305.py 93 B

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