which is mutable in python
纯净搜索 为您找到 本页 4 条,用时 0 秒(数据源:360)
AI 回答
由 glm-4-flash 生成 · 仅供参考,请自行核实
1. Lists
2. Dictionaries
3. Sets
4. Strings (in Python 3, strings are immutable, but in Python 2, they were mutable)
5. Tuples (in Python 3, tuples are immutable, but in Python 2, they were mutable)
6. User-defined classes (if they have mutable attributes)