how to use enqueue and dequeue in python code example Example: py list enqueue a = [1,2,3,4] # enqueue a = [0] + a >>> [0,1,2,3,4]