how to get the key of a particular element of a dictionary in python code example
Example 1: get all keys and values from dictionary python
#python 3
for k,v in dict.items():
print(k, v)
Example 2: find key by value python
print(list(d.keys())[list(d.values()).index(990)])