Home »
Python »
Python Dictionary MCQs
From the given syntax will create an empty dictionary?
8. From the given syntax will create an empty dictionary?
- DICT()
- DICT{}
- DICT=()
- DICT={}
Answer: D) DICT={}
Explanation:
DICT={} will create an empty dictionary, where DICT is the name of the dictionary.