Yext interview question

What does using "object1 = object2" really do to the data structure in Python?

Interview Answer

Anonymous

30 May 2020

It creates a reference to the object so the old object is still modified when only the new object is intended to be modified.