Discard & Remove in Python Set | Python in Hindi | Part-16

Published: 09 May 2021
on channel: Code With Bhiya
42
3

Discard & Remove in Python Set:-
The only difference between the two is that the discard() function leaves a set unchanged if the element is not present in the set. On the other hand, the remove() function will raise an error in such a condition (if element is not present in the set).

!! happy Learning !!


On this page of the site you can watch the video online Discard & Remove in Python Set | Python in Hindi | Part-16 with a duration of hours minute second in good quality, which was uploaded by the user Code With Bhiya 09 May 2021, share the link with friends and acquaintances, this video has already been watched 42 times on youtube and it was liked by 3 viewers. Enjoy your viewing!