Home
/
Python 3.11
/
Built-in Types
/
remove
Python 3.0
Python 3.9
Python 3.11
Functions
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
Copy
remove(elem)
See Also
KeyError