python中可变和不可变对象(复值,拷贝,函数值传递)

python中有可变对象和不可变对象,python 可变对象: list, dict.程序员 不可变对象有: int, string, float, tuple.app python不可变对象 int, string, float, tuple函数 先来看一个例子 spa def int_test(): 指针     i = 77orm     j = 77对象     print(id(77))
相关文章
相关标签/搜索