Sobes.tech
Junior — Senior

How will the variable change after reassigning the list

livecode

Task condition

It is necessary to find out what value the variable list_b will have after the variable list_a is assigned a new list, and to explain whether list_b retains a reference to the original object.

list_a = []
list_b = list_a
list_a = [1]
# what value will list_b have?