0
when does the value change together
a=[1,2,3] b=a a[2]=9 print(a,b) c=[4,5] a=a+c result=a[1]*b[1] a[2]=8 print(a,b) print(result) https://code.sololearn.com/cdJjbGjX6d2C/?ref=app
1 Answer
0
Could you be a little more specific on what you want?
a=[1,2,3] b=a a[2]=9 print(a,b) c=[4,5] a=a+c result=a[1]*b[1] a[2]=8 print(a,b) print(result) https://code.sololearn.com/cdJjbGjX6d2C/?ref=app