Python balaye deux nombres

def swap(a, b):
  a = a + b
  b = a - b
  a = a - b
  return a, b
mieyang mie