Hi, dict is not a function. It is a dictionary variable. When we type any variable equal to { } , it is initialised as empty dictionary.
Example: a = { }, Here a is a empty dictionary.
Since we are looking at only data structures. I added Map data structure which is dictionary in case of python.
Hi, dict is not a function. It is a dictionary variable. When we type any variable equal to { } , it is initialised as empty dictionary. Example: a = { }, Here a is a empty dictionary. Since we are looking at only data structures. I added Map data structure which is dictionary in case of python.