menu = {'burger': 5.99, 'pizza': 8.99, 'salad': 6.49}
new_price = 9.5
# update dictionary here...
print(menu['pizza'] == new_price)
# expected output: True
Python
Setting up Python environment...
Output
menu = {'burger': 5.99, 'pizza': 8.99, 'salad': 6.49}
new_price = 9.5
# update dictionary here...
print(menu['pizza'] == new_price)
# expected output: True
Setting up Python environment...