Exercise: Remove key-value pair from dictionary
Due to a lack in demand, salad has been removed from the menu. Update the dictionary accordingly.
menu = {'burger': 5.99, 'pizza': 8.99, 'salad': 6.49}
# update dictionary here...
print(menu)
# expected: {'burger': 5.99, 'pizza': 8.99}
Python
Setting up Python environment...
Output