티스토리 뷰

https://stackoverflow.com/questions/39980323/are-dictionaries-ordered-in-python-3-6

 

Are dictionaries ordered in Python 3.6+?

Dictionaries are ordered in Python 3.6 (under the CPython implementation at least) unlike in previous incarnations. This seems like a substantial change, but it's only a short paragraph in the

stackoverflow.com

 

정답은 맞다고한다. 답변에 의하면 삽입 순서대로 정렬된다

'Python > Python 기초' 카테고리의 다른 글

[Python] zip  (0) 2022.02.11
[Python] enumerate 함수  (0) 2022.02.11
[Python] 파이썬 기초 문제로 코딩 복습하기  (0) 2020.08.04