get key given value python code example Example: how to get the value of key in python print(dict["key"])