What does using "object1 = object2" really do to the data structure in Python?
Anonymous
It creates a reference to the object so the old object is still modified when only the new object is intended to be modified.
Check out your Company Bowl for anonymous work chats.