- Learn Web Development with Python
- Fabrizio Romano Gaston C. Hillar Arun Ravindran
- 52字
- 2021-06-10 18:26:01
Mutable sequences
Mutable sequences differ from their immutable sisters in that they can be changed after creation. There are two mutable sequence types in Python: lists and byte arrays. I said before that the dictionary is the king of data structures in Python. I guess this makes the list its rightful queen.