Reply to post 'Tryign to add a valkue to a set'
russ.pobox at gmail.com
russ.pobox at gmail.com
Tue Jun 11 03:21:18 EDT 2013
Just try this in the interpreter and see.
for key, value in sorted(months.items(), key=lambda x:x[1]):
print "%s %s" % (value, key)
More information about the Python-list
mailing list