On 2014-04-08 23:55, Peter Otten wrote:

You can create and sort the list in a single step:

l = sorted(myDict)


Thank you again; this is a new idiom for me.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to