Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

dict map()

my_dictionary = dict(map(lambda kv: (kv[0], f(kv[1])), my_dictionary.iteritems()))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dict
ADD COMMENT
Topic
Name
2+5 =