Add or Remove Set Items in Python | Python set | Python Programming in Hindi #48

preview_player
Показать описание
In this video, I have explained how to Add or Remove set Items in Python.
 To add one item to a set use the add() method.
 To add items from another set into the current set, use the update() method.
 The object in the update() method does not have to be a set, it can be any iterable object (tuples, lists, dictionaries, etc.).
 To remove an item in a set, use the remove(), or the discard() method.

👍 LIKE ✍ COMMENT ✉ SHARE ❤ SUBSCRIBE
Рекомендации по теме
welcome to shbcf.ru