Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Python Dictionaries and Sets for Beginners - Python Tutorial

Dave Gray via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a comprehensive 30-minute Python tutorial focused on dictionaries and sets, two powerful collection data types. Explore the fundamentals of dictionaries, including creation, accessing items, adding and changing values, removing and deleting items, copying, and working with nested structures. Learn about sets, their unique properties such as no duplicate values, and essential operations like checking for value existence, updating, merging, and applying various set methods. Gain practical insights into using these data structures effectively in your Python code, with clear explanations and examples suitable for beginners.

Syllabus

Intro
Welcome
Quick Setup
What are Dictionaries?
Accessing Dictionary Items
Adding & Changing Values
Removing Items
Deleting & Clearing Items
Copying Dictionaries
Nested Dictionaries
VS Code & dot notation
What are Sets?
No duplicates allowed in Sets
Check if a value exists in a Set
Set updates
Merging Sets
More Set methods

Taught by

Dave Gray

Reviews

Start your review of Python Dictionaries and Sets for Beginners - Python Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.