Dictionary - Copy
Dictionary - Copy
Unordered collection of items / elements. Each item has two parts - key : value
A mapping between key and it’s value, separated by colon (:)
Items are enclosed in {} and separated by comma.
We are optimized to retrieve data using key. So key (values) should be unique.
They can be integer, float, string or tuple.
D[key] can be used for accessing element, also to add element in an existing
dictionary.
# Creating an empty Dictionary
D = {}
print("Empty Dictionary: ")
print(D)