容器序列 | list, tuple, deque | 可以存放任意类型的数据 |
扁平序列 | str, bytes, bytearray, array.array | 存放相同类型的数据 |
可变序列 | list, deque, bytearray, array | |
不可变序列 | str, tuple, bytes |
python中的序列类型
最新推荐文章于 2024-01-28 03:02:50 发布
容器序列 | list, tuple, deque | 可以存放任意类型的数据 |
扁平序列 | str, bytes, bytearray, array.array | 存放相同类型的数据 |
可变序列 | list, deque, bytearray, array | |
不可变序列 | str, tuple, bytes |