Intern — Middle
How does the variable value change after copying and incrementing
livecode
Task condition
You need to determine what value the variable y will have after executing the given code, and explain why the value of variable x is preserved or not preserved in y.
x = 4567
y = x
x += 1
# What is the value of y?