difference between s[:] and s, diffrence between reference and copy

前端 未结 0 1192
深忆病人
深忆病人 2020-12-20 11:56

I\'m new at python I have some Question about Variable thing.
I\'ve heard that s refers to a variable, and s[:] refers to copying a value, not a reference.
Why do b

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