KnowledgeBoat Logo
|

Informatics Practices

To create an empty dictionary, we use the statement as:

  1. d1 = {}
  2. d1 = []
  3. d1 = ()
  4. d1 == {}

Python Dictionaries

2 Likes

Answer

d1 = {}

Reason — The statement to create an empty dictionary in Python is d1 = {}.

Answered By

1 Like


Related Questions