From the given syntax will create an empty dictionary?

8. From the given syntax will create an empty dictionary?

  1. DICT()
  2. DICT{}
  3. DICT=()
  4. DICT={}

Answer: D) DICT={}

Explanation:

DICT={} will create an empty dictionary, where DICT is the name of the dictionary.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.