0
a =[3,4]
b=a
b.append(5)
print(a)

then the operations on b can manipulate a , so how can I fix not to link 'a' , while changing/modifying b

Help me !!

  • 1
    Does this answer your question? [List changes unexpectedly after assignment. Why is this and how can I prevent it?](https://stackoverflow.com/questions/2612802/list-changes-unexpectedly-after-assignment-why-is-this-and-how-can-i-prevent-it) – thshea Jun 10 '21 at 13:09

0 Answers0