# creating a sample dictionary
my_dict = {"apple": 1, "banana": 2, "orange": 3}

# check if "apple" exists in the dictionary
if my_dict.get("apple") is not None:
    print("Key exists in the dictionary")
else:
    print("Key does not exist in the dictionary")