Stack Exchange
Stack Overflow
  • Questions
  • Tags
  • Users
  • About
Stack Overflow
    1. Public
    2. Questions
    3. Tags
    4. Users
    5. About

array changes despite not being not being directly referenced

Asked Jul 30 '21 at 18:33
Active Jul 30 '21 at 18:33
Viewed 12 times
0

TP is defined as being the same as P, then when I change P, TP is changed. How can I make TP a copy of P, such that TP is independent of P? Thanks.

python list
asked Jul 30 '21 at 18:33
Khrishan Solanki
  • 1

0 Answers0