<human>:  Can you show me a Python program to delete from a dictionary if there exists.
<bot>:

# Enter the dictionary
dictionary = {"carnation": "carnation", "cat": "cat", "bicycle": "bicycle"}

# Enter the key
key = "carnation"

# Calling the function
print((del_if_exist(dictionary, key)))

#Example Output
# None

#Remember to inspect code for bugs.