代码
def swap(x, y):
return x, y
if __name__ == "__main__":
x = int(input(''))
y = int(input(''))
y, x = swap(x, y)
print('x = ', x, 'y = ', y)
def swap(x, y):
return x, y
if __name__ == "__main__":
x = int(input(''))
y = int(input(''))
y, x = swap(x, y)
print('x = ', x, 'y = ', y)