from collections import deque `deque([iterable[, maxlen]])` `append(x)` `appendleft(x)` `extend(iterable)` `extendleft(iterable)` `pop()` `popleft()` `remove(value)` `clear()` `count(value)` `obj.maxlen`