Mathematical methods and operations between sets (and frozensets) | Python course from scratch 🐍

Опубликовано: 05 Октябрь 2026
на канале: OMES
638
38

This is the second video in our series on sets. We'll explore the methods we can use to work with sets, as well as the mathematical operations we can apply to them. Finally, we'll see how to iterate through each element of a set and what frozen sets are. Let's get started!

BECOME A CHANNEL MEMBER ❤️:
   / @omes-va  

CONTENT:
0:00 - Introduction
0:18 - Add Method
0:48 - Update Method
1:18 - Clear Method
1:34 - Discard Method
2:11 - Remove Method
2:40 - Pop Method
3:16 - MATHEMATICAL OPERATIONS WITH SETS
3:38 - Membership
4:54 - Union
5:56 - Intersection
6:51 - Difference
8:16 - Symmetric Difference
9:09 - Subset
9:53 - Superset
10:53 - Traversing the Elements of a Set
11:21 - Frozen Sets

REFERENCES:
🔗 https://docs.python.org/3.11/tutorial...
🔗 https://www.w3schools.com/python/pyth...
🔗 https://docs.python.org/3/library/std...

MY WEBSITE:
💜👩‍💻 www.omes-va.com

MY SOCIAL MEDIA:
☑️INSTAGRAM: @gaby_omes
🔗  / gaby_omes  

☑️FACEBOOK: @GabyOmes
🔗  / gabyomes