Read the program like the computer would, then call the output before you run anything.
x = 10 y = 20 x = y print(x)