Junior — Senior
How will the content of the nested list change after overriding the variable
livecode
Task condition
Determine what output will be obtained in the console after executing the following code. First, a list l is created, which is then included along with another list in a composite list t. Then the variable l is assigned a new value, different from the list. What will be printed?
l = [1, 2]
a = [5, 6]
t = [l, a]
l = "TEST"
print(t)