Answers for "python how to find the key of an element in a dictionary"

-3

find key by value python

print(list(d.keys())[list(d.values()).index(990)])
Posted by: Guest on May-04-2020

Code answers related to "python how to find the key of an element in a dictionary"

Python Answers by Framework

Browse Popular Code Answers by Language