Identity vs.Equality in Environment Diagrams ● Review:For assignment statements,evaluate the right side,then assign to the left. ● Copying:When creating a copy,copy exactly what's "in the box". Global frame list 0 Ist1 -2 >>1st1=[0,6,[-2,4]] Ist2 Ist3 s式 >>>1st2=1st1 0 0 >>>1st3=1st1[1:] ist 6Identity vs. Equality in Environment Diagrams ● Review: For assignment statements, evaluate the right side, then assign to the left. ● Copying: When creating a copy, copy exactly what’s “in the box”. >>> lst1 = [0, 6, [-2, 4]] >>> lst2 = lst1 >>> lst3 = lst1[1:]