python create a empty dictionary code example Example 1: empty dictionary python dict_empty = {} Example 2: initialize empty dictionary python new_dict = {}