Python 3 Code Exercise Use an array list (class based) to implement Queuing syst
ID: 3731965 • Letter: P
Question
Python 3 Code ExerciseUse an array list (class based) to implement Queuing system in a post office that will contain the following functions:
1. Add new customer to Q using input 2. Remove customer from the Queue once served 3. At any particular time, the manager should know the total customer in waiting queue ( use Count Element in Queue) 4. Show/print Customer List of Elements in the Queue 5. Check if all the customer are served or not 6. Exit
Note: Modify Add new Customer() function so that it will enable you to add more Customer using (Y/N):
E.g Enter your Choice: 1 Enqueue new Customer: 12 Enter more(y/n): y Enqueue new Customer :15 Enter more(y/n): n
Modify Remove() function so that it will confirm customer to be serve or not ,(give warning that item deleted/removed cannot be recovered) using (Delete/Cancel): E.g (D/C) Python 3 Code Exercise
Use an array list (class based) to implement Queuing system in a post office that will contain the following functions:
1. Add new customer to Q using input 2. Remove customer from the Queue once served 3. At any particular time, the manager should know the total customer in waiting queue ( use Count Element in Queue) 4. Show/print Customer List of Elements in the Queue 5. Check if all the customer are served or not 6. Exit
Note: Modify Add new Customer() function so that it will enable you to add more Customer using (Y/N):
E.g Enter your Choice: 1 Enqueue new Customer: 12 Enter more(y/n): y Enqueue new Customer :15 Enter more(y/n): n
Modify Remove() function so that it will confirm customer to be serve or not ,(give warning that item deleted/removed cannot be recovered) using (Delete/Cancel): E.g (D/C)
Use an array list (class based) to implement Queuing system in a post office that will contain the following functions:
1. Add new customer to Q using input 2. Remove customer from the Queue once served 3. At any particular time, the manager should know the total customer in waiting queue ( use Count Element in Queue) 4. Show/print Customer List of Elements in the Queue 5. Check if all the customer are served or not 6. Exit
Note: Modify Add new Customer() function so that it will enable you to add more Customer using (Y/N):
E.g Enter your Choice: 1 Enqueue new Customer: 12 Enter more(y/n): y Enqueue new Customer :15 Enter more(y/n): n
Modify Remove() function so that it will confirm customer to be serve or not ,(give warning that item deleted/removed cannot be recovered) using (Delete/Cancel): E.g (D/C) Use an array list (class based) to implement Queuing system in a post office that will contain the following functions:
1. Add new customer to Q using input 2. Remove customer from the Queue once served 3. At any particular time, the manager should know the total customer in waiting queue ( use Count Element in Queue) 4. Show/print Customer List of Elements in the Queue 5. Check if all the customer are served or not 6. Exit
Note: Modify Add new Customer() function so that it will enable you to add more Customer using (Y/N):
E.g Enter your Choice: 1 Enqueue new Customer: 12 Enter more(y/n): y Enqueue new Customer :15 Enter more(y/n): n
Modify Remove() function so that it will confirm customer to be serve or not ,(give warning that item deleted/removed cannot be recovered) using (Delete/Cancel): E.g (D/C)
Explanation / Answer
Here is the complete code
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.