Answer:
Required code is given below:
Explanation:
def add_to_dict(dictt, key,value):
if key in dictt.keys():
print("Error. Key already exists.")
else:
dictt[key]=value
return dictt
def remove_from_dict(dictt,key):
try:
dictt[key]
dictt.pop(key, None)
return dictt
except KeyError:
print("No such key exists in the dictionary.")
def find_key(dictt,key):
try:
value=dictt[key]
print("Value: ", value)
except KeyError:
print("Key not found.")