▶
x = ["A","B","C"] y = x.copy() print("xアドレス",id(x)) print("yアドレス",id(y)) x[0] = "Z" print("x=",x) print("y=",y)
OFF