Q. Dictionaries in Python are:

  • (A) Immutable
  • (B) Ordered since Python 3.7
  • (C) Unordered always
  • (D) Not iterable
πŸ’¬ Discuss
βœ… Correct Answer: (B) Ordered since Python 3.7
Explanation: From Python 3.7+, dictionaries preserve insertion order.
Explanation by: Mr. Dubey
From Python 3.7+, dictionaries preserve insertion order.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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