Since which Python version are dictionaries guaranteed to preserve insertion order?
Correct answer
C. 3.7
5 views
C. 3.7
5 views
Insertion order became a language guarantee in Python 3.7 (it was an implementation detail in CPython 3.6).
Asked in: Python Interview Dictionaries
https://docs.python.org/3/tutorial/datastructures.html#dictionariesNot sure why the answer is C? Ask here and get an explanation.