How would you extract items 3..6 efficiently, elegantly and pythonically from the following deque without altering it:
deque
from collections import d
output = [q[i] for i in range(3,6+1)]