SETS in Python (Create, Add, Access, Update, Remove, Check, Loop, Join, Methods)

Publicado em: 22 Setembro 2020
no canal de: Digital Academy
3,018
57

🎓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 ▬▬▬▬

○ PYTHON FOR Loops:    • FOR Loop in Python (Syntax, Break, Continu...  
○ PYTHON OPERATORS:    • OPERATORS in Python (Arithmetic, Assignmen...  
○ PYTHON CONDITIONALS (IF, ELSE, ELIF):    • CONDITIONAL Statements in Python (IF, ELIF...  

🌐 Blog: http://digital.academy.free.fr/blog/p...

📖 [PLAYLIST] Complete Python Development Course for Beginners: http://digital.academy.free.fr/playli...


▬▬▬▬ 🔗 Links ▬▬▬▬

🌐 Blog: http://digital.academy.free.fr/blog

🛒 Shopping: https://payhip.com/DigitalAcademyOnline

📘 [BOOK] Python for Absolute Beginners: https://amzn.to/3NvyOWV

👨🏼‍🏫 [ALL COURSES] http://digital.academy.free.fr/courses

💌 Weekly Newsletter for Developers: https://www.getrevue.co/profile/digit...


▬▬▬▬ ⏱ 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 ▬▬▬▬

✧ http://digital.academy.free.fr
✧   / digitalacademyy  
✧   / digitalacademyfr  
✧   / digital_academy_fr  
✧    / digitalacademyonline  


▬▬▬▬ ⚡ SUPPORT US ▬▬▬▬

✧ http://digital.academy.free.fr/join
✧ http://digital.academy.free.fr/donate
✧ http://digital.academy.free.fr/subscribe
✧   / digital_academy  
✧ https://www.buymeacoffee.com/digital_...


Nesta página do site você pode assistir ao vídeo on-line SETS in Python (Create, Add, Access, Update, Remove, Check, Loop, Join, Methods) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Digital Academy 22 Setembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 3,018 vezes e gostou 57 espectadores. Boa visualização!