ID EN
Built-in Types

popitem

Python 3.11

Remove and return a (key, value) pair from the dictionary. Pairs are returned in LIFO order.

Syntax

PYTHON
popitem()

See Also

popitem() popitem() KeyError popitem()