You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://python-reference.readthedocs.io/en/latest/docs/dict/
In this page it said that ,
"Dictionaries are mutable unordered collections (they do not record element position or order of insertion) of key-value pairs. Keys within the dictionary must be unique and must be hashable. That includes types like numbers, strings and tuples. Lists and dicts can not be used as keys since they are mutable. Dictionaries in other languages are also called hash tables or associative arrays."
However on the new updates
Dictionaries are insertion-ordered. This means the order in which key-value pairs are added to the dictionary is preserved when iterating over it.
The text was updated successfully, but these errors were encountered:
https://python-reference.readthedocs.io/en/latest/docs/dict/
In this page it said that ,
"Dictionaries are mutable unordered collections (they do not record element position or order of insertion) of key-value pairs. Keys within the dictionary must be unique and must be hashable. That includes types like numbers, strings and tuples. Lists and dicts can not be used as keys since they are mutable. Dictionaries in other languages are also called hash tables or associative arrays."
However on the new updates
Dictionaries are insertion-ordered. This means the order in which key-value pairs are added to the dictionary is preserved when iterating over it.
The text was updated successfully, but these errors were encountered: