Question: need help python only You will create a program that will follow the queuing theory of the Barbershop Problem. In this you will use queues
need help
python only
You will create a program that will follow the queuing theory of the Barbershop Problem. In this you will use queues and random number generators to complete this project. You will create three queues
Couch - the area where patron will wait just prior to getting their hair cut;
Line - the area where patron will form a line just before reaching the couch; and
Cashier - the area where patrons will line up to pay just before exiting the barbershop and after finishing their haircut.
You will create a container for the barbers chairs (list) . The wait times for the barbers will be random. Barber one will be the fastest and barber three will be the slowest. Randomize the wait times accordingly.
The cashier wait times will also vary randomly.
Barber wait times.
1 second (system time) = 5 minutes
Max time 2 hours
Min time 20 minutes.
Cashier wait time
1 second (system time) = 1 minute
Max time 3 minutes
Min time 1 minute.
ends after 60 people has gotten there haircuts.
See video below for example:
https://unioncc.instructure.com/courses/19674/files/1358528/download?verifier=oW0rDDtM3vR8jtMbpJbHNXYEICYTRcA2uStlVegn
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
