ID EN
Collections

popleft

Python 3.11

Remove and return an element from the left side of the deque. If no elements are present, raises an IndexError.

Syntax

PYTHON
popleft()

See Also

IndexError