[Tutor] dictionary keys

Alex Kleider akleider at sonic.net
Wed Apr 9 11:04:46 CEST 2014


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.


More information about the Tutor mailing list