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