Q. What is a dictionary in Python?

  • (A) An ordered collection of elements
  • (B) An unordered collection of key-value pairs
  • (C) A mutable list of strings
  • (D) A sequence of characters
πŸ’¬ Discuss
βœ… Correct Answer: (B) An unordered collection of key-value pairs
Explanation: A dictionary is an unordered collection of key-value pairs in Python.
Explanation by: Mr. Dubey
A dictionary is an unordered collection of key-value pairs in Python.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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