Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get key from value in python dict

list(prio.keys())[list(prio.values()).index(x)] 
 
PREVIOUS NEXT
Tagged: #key #python #dict
ADD COMMENT
Topic
Name
3+7 =