Aug-30-2019, 04:09 PM
Line 1 does not make a copy of the list. It just creates another variable pointing to the original list.
In another thread one of the better programmers here posted a link that really helps to explain this (I think yesterday). Watch the video, it will become clear.
How variables work in Python
In another thread one of the better programmers here posted a link that really helps to explain this (I think yesterday). Watch the video, it will become clear.
How variables work in Python