Dictionary details
Keys must be immutable:
- numbers, strings, tuples of immutables
- these cannot be changed after creation
- reason is hashing (fast lookup technique)
- not lists or other dictionaries
- these types of objects can be changed "in place"
- no restrictions on values
Keys will be listed in arbitrary order
- again, because of hashing