Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write the Python code that can simulate the automated system which manages orders at a restaurant. (I need to know how to get the output

Write the Python code that can simulate the automated system which manages orders at a restaurant. (I need to know how to get the output in the example below, what code I should write to get the output!!!)

. INPUT: customername_order_dict = {Tony Clark:Give me a slice of Apple Pie, Brad Smith:Can i get a Cheesecake?, Ada 

INPUT: customername_order_dict = {"Tony Clark":"Give me a slice of Apple Pie", "Brad Smith":"Can i get a Cheesecake?", "Adam Lev": "I want a Taco", "Carl Don":"Can i get a cone of Icecream?"} available_item_list = ["taco", "apple pie"] OUTPUT: Customer Name:Tony Clark, Order: Give me a slice of Apple Pie, Order Status: Accepted! Customer Name:Brad Smith, Order: Can i get a Cheesecake?, Order Status: Item Sold Out! Customer Name:Adam Lev, Order: I want a Taco, Order Status: Accepted! Customer Name:Carl Don, Order: Can i get a cone of Icecream?, Order Status: Item Sold Out!

Step by Step Solution

3.43 Rating (169 Votes )

There are 3 Steps involved in it

Step: 1

class Restaurant A class representing a restaurant def initself name cuisinetype Initialize the rest... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Systems analysis and design

Authors: kenneth e. kendall, julie e. kendall

8th Edition

135094909, 013608916X, 9780135094907, 978-0136089162

More Books

Students also viewed these Computer Network questions

Question

by AF= Ke, E *4 2 dr u 2 2. AF-Ke P

Answered: 1 week ago

Question

Describe three of Fechners psychophysical methods.

Answered: 1 week ago

Question

2x 2x 2x3 4 2X2 2 x 5x 2x3 1 8 x x 4x 11 2 + 2X2 = 4

Answered: 1 week ago