LLD - Design — Food Delivery System
What will be the output of the following code?
Assuming 'Soda' is not in the menu.
menu = Menu()
menu.add_item('Pizza', 8.0)
order = Order()
order.add_item('Pizza', 1)
order.add_item('Soda', 2)
total = order.calculate_total(menu)Assuming 'Soda' is not in the menu.
