# Dumping queue into list or array in Python # Python program to# demonstrate queue implementation# using collections.dequeue   from collections import deque   # Initializing a queueq = deque()   # Adding elements to a queueq.append('a')q.append('b')q.append('c')  # display the queueprint("Initial queue")print(q,"\n")  # display the typeprint(type(q))