如何将结果写入传递的参数(参数)?
### permutation function
def xchg(a, b):
""" xchg function that does a permution for two integers
"""
a=a+b
b=a-b
a=a-b
a=int(input("Enter a number: "))
b=int(input("Enter another number: "))
xchg(a,b)
print("a= ", a)
print("b= ", b)