Printer Queue Simulation

Complete dequeue() so it removes and returns the job at the front of the queue (FIFO), or "Queue empty" if there are no jobs. Input is a comma-separated list of jobs to enqueue; the program then calls dequeue() twice.

main.py
Loading editor…

Console

Run your code to see output here.