how to access key of a dictionary based on another key value in python code example Example: find key by value python print(list(d.keys())[list(d.values()).index(990)])