Python Dictionaries and Sets for Beginners | Python tutorial

preview_player
Показать описание

Learn about Python Dictionaries and Sets for beginners in this Python tutorial. Dictionaries and Sets are two collection data types in Python. Both Python dictionaries and sets can be very useful in your code.

⭐ Become a full-stack dev with Zero To Mastery Courses:

👇 Follow Me On Social Media:

Python Dictionaries and Sets for Beginners | Python tutorial

(00:00) Intro
(00:05) Welcome
(00:13) Quick Setup
(00:51) What are Dictionaries?
(03:32) Accessing Dictionary Items
(06:29) Adding & Changing Values
(07:41) Removing Items
(09:58) Deleting & Clearing Items
(11:48) Copying Dictionaries
(16:01) Nested Dictionaries
(18:51) VS Code & dot notation
(19:22) What are Sets?
(20:39) No duplicates allowed in Sets
(23:09) Check if a value exists in a Set
(24:01) Set updates
(25:59) Merging Sets
(27:13) More Set methods

📚 Tutorial References:

Was this Python Dictionaries & Sets tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.

#python #dictionaries #sets
Рекомендации по теме
Комментарии
Автор

Hi both copy and const method are creating shallow copies not deep copies

JR
Автор

what an interesting video is this dave. thank you very much !!

lealembirhanu
Автор

Sir amazing course thank you for this gem 💎

nomanshariq
Автор

Thank you for really amazing courses, first please finish this python and nextJs please do not start until React-Native. Python is the best choice and also nextJS13 nowadays, thank you

zoltanmolnar
Автор

6:29 You said each key/value pair is a tuple. Tuples can't be modified. So how can you modify a value in a dictionary?

johnaweiss
Автор

dave i have a question why in the order print band in 18:52 didn`t print the first band in the program and printed the one we just made it

mohamedmagdy-jyvp
Автор

band["vocals"] = "Coverdale" Boo! haha
Seriously though, great lessons.. and the Zeppelin examples actually helped!

lsteved
Автор

i put in (morenums) numbers like (98, 71, 51, and others), the sets doesnt set them in order in the (nums), it changes its order.

hussainalaa
Автор

22:53 You didn't test to see if `0 in nums` will find the False.

johnaweiss
Автор

is "print(band["vocals"])" and "print(band.get("guitar"))" interchangeable?

ivanshugaev
Автор

Another Tuesday Python delight! Beep beep🍹

doors
Автор

Hi Dave, Thank You for amazing tutorials.
Can we get a react native course?

sexy_audios
Автор

Sir, How to check values in band.
I got error Sir.
print('Plant' in band)

utinthein
join shbcf.ru