search dictionary python by value code example
Example 1: if equal to key return value python
# default param is optional
dict.get(key, default = None)
Example 2: find key by value python
print(list(d.keys())[list(d.values()).index(990)])
# default param is optional
dict.get(key, default = None)
print(list(d.keys())[list(d.values()).index(990)])