filmov
tv
SETS in Python (Create, Add, Access, Update, Remove, Check, Loop, Join, Methods)
![preview_player](https://i.ytimg.com/vi/eq8Bk98kAt0/maxresdefault.jpg)
Показать описание
🎓Welcome back to Digital Academy, the Complete Python Development Tutorial for Beginners, in which you will discover a new Data Types: Sets in Python - and all of the operations you can perform on Sets in Python (Create, Add, Access, Update, Remove, Check, Loop, Join - and multiple other methods)
▬▬▬▬ 📖 Content ▬▬▬▬
🖥️ Set in Python is one of the most frequently used Data Types in Python - amongst List, Dictionary and Tuple. In fact, Set in Python is a collection of items, which is: not indexed, unordered, contains only unique elements, and is of mutable type - so it can be changed, grow and shrink, once created.
Moreover, Set in Python are commonly used for computing mathematical operations, such as: Union, Intersection, Difference, and Symmetric Difference Operations - or do not store ANY duplicate members!
There are several ways to create a new Set. In Python programming language, the simplest way to create a Set is: to enclose all of the items, also known as elements, inside curly braces {} - and separated by commas. It can have any number of items inside, and they can even be of different Data Types - integer, float, string, boolean, or even another (immutable) object, which contains other items of different data types, and so forth.
🎯 In this video, you will discover: How to create a Set in Python? Add, Update, and even Remove items from a Set. But also: How to iterate through a Set, using FOR Loops. And, finally, different ways to join two sets - altogether.
Let's play this video, stick around and watch until the end! 👍🏻
- Digital Academy™ 🎓
▬▬▬▬ 🎬 Watch NEXT ▬▬▬▬
▬▬▬▬ 🔗 Links ▬▬▬▬
▬▬▬▬ ⏱ Timestamps ▬▬▬▬
00:00 Intro
00:09 Introduction
01:15 Python Set - Definition / Syntax
02:31 Python Set - Create a Set in Python {}
04:56 Python Set - Add / Update Items
06:15 Python Set - Access Set Items
06:44 Python Set - Remove Set Items (pop, remove, discard, clear)
08:36 Python Set - Check Items Existence (IF + in / not in Operators)
09:10 Python Set - Iterate through a Set (FOR Loops) / Set Length
10:08 Python Set - Join 2 Sets (Union, Intersection, Difference)
12:40 Python Set - Built-in Set Methods & Functions
13:28 Conclusion
14:15 Subscribe, Like, Comment & Share
#Python #Tutorial #Beginners #Set
▬▬▬▬ ⭐ FOLLOW US ▬▬▬▬
▬▬▬▬ ⚡ SUPPORT US ▬▬▬▬
▬▬▬▬ 📖 Content ▬▬▬▬
🖥️ Set in Python is one of the most frequently used Data Types in Python - amongst List, Dictionary and Tuple. In fact, Set in Python is a collection of items, which is: not indexed, unordered, contains only unique elements, and is of mutable type - so it can be changed, grow and shrink, once created.
Moreover, Set in Python are commonly used for computing mathematical operations, such as: Union, Intersection, Difference, and Symmetric Difference Operations - or do not store ANY duplicate members!
There are several ways to create a new Set. In Python programming language, the simplest way to create a Set is: to enclose all of the items, also known as elements, inside curly braces {} - and separated by commas. It can have any number of items inside, and they can even be of different Data Types - integer, float, string, boolean, or even another (immutable) object, which contains other items of different data types, and so forth.
🎯 In this video, you will discover: How to create a Set in Python? Add, Update, and even Remove items from a Set. But also: How to iterate through a Set, using FOR Loops. And, finally, different ways to join two sets - altogether.
Let's play this video, stick around and watch until the end! 👍🏻
- Digital Academy™ 🎓
▬▬▬▬ 🎬 Watch NEXT ▬▬▬▬
▬▬▬▬ 🔗 Links ▬▬▬▬
▬▬▬▬ ⏱ Timestamps ▬▬▬▬
00:00 Intro
00:09 Introduction
01:15 Python Set - Definition / Syntax
02:31 Python Set - Create a Set in Python {}
04:56 Python Set - Add / Update Items
06:15 Python Set - Access Set Items
06:44 Python Set - Remove Set Items (pop, remove, discard, clear)
08:36 Python Set - Check Items Existence (IF + in / not in Operators)
09:10 Python Set - Iterate through a Set (FOR Loops) / Set Length
10:08 Python Set - Join 2 Sets (Union, Intersection, Difference)
12:40 Python Set - Built-in Set Methods & Functions
13:28 Conclusion
14:15 Subscribe, Like, Comment & Share
#Python #Tutorial #Beginners #Set
▬▬▬▬ ⭐ FOLLOW US ▬▬▬▬
▬▬▬▬ ⚡ SUPPORT US ▬▬▬▬
Комментарии