Q. Which of the following is used to define an empty dictionary?

  • (A) []
  • (B) set()
  • (C) {}
  • (D) ()
πŸ’¬ Discuss
βœ… Correct Answer: (C) {}
Explanation: {} creates an empty dictionary.
Explanation by: Mr. Dubey
{} creates an empty dictionary.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
72
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate