my_dict = {"apple": 2, "banana": 3, "orange": 4}
# Add a new key-value pair to the dictionary
my_dict["pear"] = 5
# Print the updated dictionary
print(my_dict)
{'apple': 2, 'banana': 3, 'orange': 4, 'pear': 5}
my_dict
` with some initial key-value pairs. pear
"`. print()
` function.