可變與不可變型別前面介紹list時提到在python中數據類型分為可變與不可變型別: ... list copy pass by reference a = [1,2,3] a_ref = a a.append(4) print("a: " ...
確定! 回上一頁