how to create empty dictionary in pyton code example Example 1: empty dictionary python dict_empty = {} Example 2: initialize empty dictionary python new_dict = {}