I get an error while trying to append an integer to my queue.
from _collections import deque q = deque q.appendleft(5) q.appendleft(6) q.appendleft(12) print