

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Dictionaries
incomplete
2: Duplicate Keys
incomplete
3: Accessing Dictionary Values
incomplete
4: Setting Dictionary Values
incomplete
5: Updating Dictionary Values
incomplete
6: Deleting Dictionary Values
incomplete
7: Counting Practice
incomplete
8: Iterating Over a Dictionary in Python
incomplete
9: Ordered or Unordered?
incomplete
10: Quest Status
incomplete
11: Merge Dictionaries
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
As of Python version 3.7, dictionaries are ordered. In Python 3.6 and earlier, dictionaries were unordered.
Because dictionaries are ordered, the items have a defined order, and that order will not change.
Unordered means that the items do not have a defined order.
The takeaway is that if you're on Python 3.7 or later, you'll be able to iterate over dictionaries in the same order every time.