Python list copy and which to use as class variable

后端 未结 0 1448
太阳男子
太阳男子 2021-01-07 11:00

I\'m confused about the following results, as my understanding is that [:] does a shallow copy, and when you change either the old list or the newly copied one,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题