#变量值互换
def f(a, b):
a, b = b, a
return a, b
x = 12
y = 32
x, y = f(x, y)
print(x, y)
python变量值互换
最新推荐文章于 2023-06-01 02:06:53 发布
#变量值互换
def f(a, b):
a, b = b, a
return a, b
x = 12
y = 32
x, y = f(x, y)
print(x, y)