In this video, you will learn about Python Dictionary data type.
Overview:
0:15 What’s a dictionary?
0:50 Creating a dictionary
1:45 Initialize a non-empty dictionary
2:45 Accessing the values from a dict
3:45 KeyError
4:45 get function
5:45 Adding new values to dict
7:00 Deleting a key-value pair
8:30 Update the dictionary
10:00 Pop function
11:15 Popitem function
13:35 items function
14:15 keys function
14:30 values function
14:45 len function
15:30 clear function
15:50 What types are keys are allowed?
Find my code here:
https://github.com/jmbharathram/executeoncommand/blob/master/5_dictionaries.py
Subscribe to my channel:
https://www.youtube.com/channel/UCwfA8RML42R-a65NRA4MQ2A?sub_confirmation=1
Connect with me:
https://www.linkedin.com/in/bharathramdba/
Cheers,
Bharath