Yes, you are basically right. In Python, a variable name can be thought of as a reference to a value (not in terms of a C ++ reference, although this works similarly, more simply declaring that it refers to something).
As an aside, the Python method is very similar to C ++ int &b = a, which simply means that ait brefers to the same value.
C int *pb = &a, , a *pb , , , C: -)
Python , , :
a = 7 # Create "7", make "a" refer to it.
b = a # make "b" refer to the "7" as well.
a = 42 # Create "42", make "a" refer to it, b still refers to the "7".
( "create", - -, ).
C- b = a , "7" b. Python a b, .
( ), Python , , C.
, ( , C ++), , , :
>>> a = [1,2,3] ; print a
[1, 2, 3]
>>> b = a ; print b
[1, 2, 3]
>>> a[1] = 42 ; print a
[1, 42, 3]
>>> print b
[1, 42, 3]
, :
b = a[:]
b = [item for item in a]
( , b = a ) deepcopy, , , .