python has mutable objects like lists or dicts and immutable objects like string or int.
mutable objects are always assigned by reference. This means that changes to the copy affect the original value. On the other hand immutable objects are deeply copied when assigned to another variable and therefore chances only affect the copied version.
EDIT: I was wrong. Python never copies on assignments.
Assignment statements in Python do not copy objects, they create bindings between a target and an object. https://docs.python.org/3/library/copy.html