Deque Functions In Python Practice