initializing an empty dictionary as parameter code example Example 1: python initialize empty dictionary d = dict() d = {} Example 2: initialize empty dictionary python new_dict = {}