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))
相關文章
相關標籤/搜索