fork download
  1. x = 5
  2. y = 10
  3.  
  4. x, y = y, x
  5. print("x =", x)
  6. print("y =", y)
Success #stdin #stdout 0.02s 9296KB
stdin
Standard input is empty
stdout
x = 10
y = 5