how crate dictonary code example
Example 1: Python New Disctionary
new_dict = dict()
#OR
new_dict = {}
Example 2: how to create a new dictionary in python
myDict = {'first item' : 'definition'}
#CREATING A BLANK DICTIONARY
myDict = {}
new_dict = dict()
#OR
new_dict = {}
myDict = {'first item' : 'definition'}
#CREATING A BLANK DICTIONARY
myDict = {}