SETS in Python (Create, Add, Access, Update, Remove, Check, Loop, Join, Methods)
?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: https://youtu.be/JgH-D5DSTho
○ PYTHON OPERATORS: https://youtu.be/-wDaVLkKOiU
○ PYTHON CONDITIONALS (IF, ELSE, ELIF): https://youtu.be/CC5seZ6OBJ4
? Blog: http://digital.academy.free.fr/blog/python-set
? [PLAYLIST] Complete Python Development Course for Beginners: http://digital.academy.free.fr/playlist/python-development-for-beginners
▬▬▬▬ ? Links ▬▬▬▬
? Blog: http://digital.academy.free.fr/blog
? Shopping: https://payhip.com/DigitalAcademyOnline
? [BOOK] Python for Absolute Beginners: https://amzn.to/3NvyOWV
??? [ALL COURSES] https://digital-academy-online.teachable.com
? Weekly Newsletter for Developers: https://www.getrevue.co/profile/digital_academy
▬▬▬▬ ⏱ 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
✧ https://twitter.com/DigitalAcademyy
✧ https://www.facebook.com/digitalacademyfr
✧ https://www.instagram.com/digital_academy_fr
✧ https://www.youtube.com/c/DigitalAcademyOnline
▬▬▬▬ ⚡ SUPPORT US ▬▬▬▬
✧ http://digital.academy.free.fr/join
✧ http://digital.academy.free.fr/donate
✧ http://digital.academy.free.fr/subscribe
✧ https://www.patreon.com/digital_academy
✧ https://www.buymeacoffee.com/digital_academy
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «SETS in Python (Create, Add, Access, Update, Remove, Check, Loop, Join, Methods)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.