DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
get key of min value
>>
>
d
=
{
320
:
1
,
321
:
0
,
322
:
3
}
>>
>
min
(
d
,
key
=
d
.
get
)
321
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#key
#min
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit