Python Programming Fundamentals | Python Sets
Автор: Dan Kornas
Загружено: 2024-10-04
Просмотров: 404
Описание:
🎓 Unlock personalized mentorship, early access to exclusive AI resources, and join a supportive learning community—sign up now for the AI Learning Membership at https://ailearninghub.io
-------------------------
In this video, you’ll learn how to work with sets in Python—covering topics like creating sets, adding elements using add() and update(), removing elements with remove(), discard(), and pop(), checking for set membership, and performing mathematical operations like union, intersection, difference, and symmetric difference. You’ll also explore the properties of sets, such as their unordered nature and how they handle unique elements.
To start learning without installing Python locally, use Google Colab.
Introduction to Google Colab: • Google Colab Basics
Create a new Google Colab Notebook: https://colab.research.google.com/#cr...
Github Code: https://github.com/dankornas/ai-roadm...
Table of Contents:
0:00 Introduction to Python Sets
0:09 Creating Sets in Python
0:51 Viewing Set Elements and their Properties
1:40 Adding Elements to a Set Using add()
2:30 Adding Multiple Elements with update()
3:28 Preventing Duplicates in Sets
4:04 Removing Elements from a Set Using remove(), discard(), and pop()
6:00 Checking for Membership in a Set
7:00 Performing Union of Two Sets
7:56 Performing Intersection of Two Sets
8:45 Finding the Difference Between Sets
9:23 Finding Symmetric Difference Between Sets
10:27 AI Learning Hub Membership
-------------------------
Social channels:
🐦Twitter: / dankornas
🌍LinkedIn: / daniel-kornas
🕵Facebook: / dankornas
📱Instagram: / dankornas
🧵 Threads: https://www.threads.net/@dankornas
-------------------------
📚 AI Books 📚
Introduction to Generative AI 👉 https://shorturl.at/3dSQz
*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: