How to discard an element from a Set in Python

Python Set Discard(): The discard() method removes an element from a set only if that element is present in the