Loading

Paste #p8qovwfdr

  1. // make copy of all variables
  2. x_old = x;
  3. y_old = y;
  4.  
  5. // Do assignments from old to new
  6. if old_x == 0:
  7.     x = y_old
  8.     y = x_old
  9. else
  10.     x = y_old + 1
  11.     y = x_old - 1
  12. end

Comments