I want to build a dictionary in Python. However, all the examples that I see are instantiating a dictionary from a list, etc . ..
How do I create a new empty diction
So there 2 ways to create a dict :
my_dict = dict()
my_dict = {}
But out of these two options {} is efficient than dict() plus its readable. CHECK HERE
{}
dict()