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 !!
Sur cette page du site, vous pouvez voir la vidéo en ligne Discard & Remove in Python Set | Python in Hindi | Part-16 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code With Bhiya 09 mai 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 42 fois et il a aimé 3 téléspectateurs. Bon visionnage!