python
来源:互联网 发布:莆田鞋怎么在淘宝上找 编辑:程序博客网 时间:2024/06/09 19:07
可更改(mutable)对象与不可更改(immutable)对象
str, tuple, 和number是不可更改的对象,
list,dict等则是可以修改的对象。
example
结论
- mutable 变量,传址
- immutable 变量,传值
阅读全文
0 0
- Python
- Python
- Python
- python
- Python
- PYTHON
- Python
- Python
- Python
- Python
- Python
- Python
- Python
- Python
- Python
- Python
- python
- Python
- EU4-62: Explaining how it works
- next greater element 系列
- 模仿,超越
- C++11:模板的改进
- traceroute程序-c语言实现
- python
- CIDR的IP地址的表示与划分方法
- 性能优化模块预加载思路
- 51Nod 1073 约瑟夫环
- HTTP协议简要介绍
- 关于C++中的友元函数的总结
- MySQL架构与innodb引擎
- no output in console for unittests in pycharm 2017
- F