DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
dict map()
my_dictionary
=
{
k
:
f
(
v
)
for
k
,
v
in
my_dictionary
.
items
(
)
}
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#dict
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit