# Python code to demonstrate deque from collections import deque # Declaring deque queue = deque(['name','age','DOB']) print(queue)