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