Home
/
Python 3.11
/
Built-in Types
/
pop
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Built-in Types
pop
Python 3.11
Remove and return an arbitrary element from the set. Raises KeyError if the set is empty.
Syntax
PYTHON
Copy
pop()
See Also
KeyError