Posts

Showing posts from November, 2017

python print strings sorted by string length

for k in sorted(def_values, key=len, reverse=True): print k, def_values[k]