Goal Run this program of queue operations and predict the queue — and what each read prints — at every step. The code line shows the actual Python call.
read result:—
← FRONT (items leave here)BACK (items join here) →
FRONT front of lineBACK back of line append (enqueue) read front / size popleft (dequeue)