On Mar 28, 1:57 am, raj <[EMAIL PROTECTED]> wrote: > To ankit: > > Well, sort() doesn't return the sorted list. It returns None. Why not > this straightforward way? > dvals = dict.values() > dvals.sort() > print dvals
Why not sorted( dict.values() ). Can it return the right things from the right things in order from the givens? ( dvals , values, sort, print ).decode() -- http://mail.python.org/mailman/listinfo/python-list