Python Dictionary
====================
• The dictionary is a collection that contains key: value pairs separated by commas inside curly brackets.
capitals = {"India" : "New Delhi", "France" : "Paris", "Bangladesh" : "Dhaka"}
• Dictionary items are ordered (from version 3.7 onwards), changeable, and does not allow duplicates.
• Keys are immutable but values are mutable.
• Keys must be a single element
• Value can be any type such as list, tuple, integer, etc.
• It is more generally known as an associative array.
• Keys are unique within a dictionary while values may not be.
Timestamps
---------------------
00:00 Introduction
01:20 Creating Dictionary
02:40 Accessing Value using Key
03:30 get() Method
05:55 Another Example of dictionary creation
07:16 Dictionary from Lists
09:42 Adding a new item to the dictionary
10:39 Delete an item
11:21 Nested Dictionary
15:53 What is Dictionary
21:35 del keyword
21:57 pop() Method
23:25 popitem() Method
25:43 clear() Method
26:27 len() Method
27:21 get() Method (repeat)
28:09 items() Method
29:52 keys() Method
30:26 values() Method
32:11 update() Method
35:50 Dictionary vs Lists