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

19th Apr 2020, 4:43 AM
Max
1 Answer
0
Could you be a little more specific on what you want?
19th Apr 2020, 4:51 PM
MyNameIsMutable
MyNameIsMutable - avatar