Learn Before
Concept icon
Concept

pop()

pop() removes an arbitrary element from the set and returns that element.

If the set is empty, it will raise a TypeError exception.

Usage Example:

Image 0

0

1

Concept icon
Updated 2021-05-28

Contributors are:

Who are from:

References


Tags

Python Programming Language

Data Science