ID EN
Built-in Types

remove

Python 3.11

Remove element elem from the set. Raises KeyError if elem is not contained in the set.

Syntax

PYTHON
remove(elem)

See Also

KeyError