1. Home
  2. Data Science
  3. Python
  4. Since which Python version are dictionaries guaranteed to…

Added 25 Nov 2026

Since which Python version are dictionaries guaranteed to preserve insertion order?

  1. 2.7
  2. 3.0
  3. 3.7 Correct answer
  4. 3.5

Correct answer

C. 3.7

5 views

MCQSEXAM

Explanation

Insertion order became a language guarantee in Python 3.7 (it was an implementation detail in CPython 3.6).

Reference

Asked in: Python Interview Dictionaries

https://docs.python.org/3/tutorial/datastructures.html#dictionaries

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs