human
Python function to remove object from dist.
assistant
Here is a Python function to remove objects from dist

import json

def remove_object(dist, object_name):
    """Remove object from dist."""
    dist.pop(object_name)

# Enter the dictionary
dist = {"name": "dahlia", "age": "23", "city": "Delhi"}

# Calling the function
print((remove_object(dist, "city")))

#Example Output
# None

#Remember to inspect code for bugs.