hello there all,
i am wondering how to sort a dictionary that i have by values.
And i also need to sort them from greatest to least
like if i have a dictionary

d = {'a':21.3, 'b':32.8, 'c': 12.92}

how could i sort these from least to greatest
so that the order would turn out
b,a,c

thanks
shawn
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to