Checkpoint 2.11.1.
x = 6
x = x + 1
x = x + 1
x = x + 1
x
appears on both sides does not matter. The semantics of the assignment statement makes sure that there is no confusion as to the result. The visualizer makes this very clear.x
was initialized to 6.x = 12
x = x - 1
print(x)
x = 12
x = x - 3
x = x + 5
x = x + 1
print(x)