Python Programming Fundamentals | Python Dictionaries

Опубликовано: 03 Август 2026
на канале: Dan Kornas
862
23

🎓 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 dictionaries in Python, covering key concepts such as creating dictionaries, accessing values using keys, modifying key-value pairs, adding new entries, removing items, and checking for membership. You’ll also explore useful dictionary methods like items(), keys(), values(), and learn how to work with nested dictionaries. Plus, you’ll see how to sort dictionaries and merge two dictionaries using the update() method.

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 Dictionaries
0:08 Creating Dictionaries with Key-Value Pairs
0:54 Checking the Length of a Dictionary with len()
1:25 Accessing Values by Keys
2:14 Using the get() Method to Access Values
2:45 Adding New Key-Value Pairs
3:25 Modifying Existing Key-Value Pairs
4:12 Removing Items from a Dictionary Using del and pop()
5:32 Checking for Key Existence
6:10 Dictionary Methods: items(), keys(), and values()
7:16 Creating Nested Dictionaries
8:25 Sorting Dictionaries by Keys
9:10 Merging Two Dictionaries Using update()
10:00 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.