Why list copy() adds an extra dimension to an array that contains itself in python?

前端 未结 0 1764
攒了一身酷
攒了一身酷 2020-12-04 05:16

I was experimenting with lists inside lists and I found this property very curious and can\'t really wrap my head around why this happens:

So, python has this notatio

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