Learn Before
Concept

discard(x)

The discard() method removes the specified element from the set.

Example usage:

Image 0

0

1

Updated 2021-05-25

Tags

Python Programming Language

Data Science

Related