1. The python language has the characteristics of simplicity and clarity. The following exchange of two numbers is written in C language and python language respectively, as follows:
"""交换两个数"""
>>> x=3
>>> y = 5
>>> z = x
>>> x = y
>>> y = z
>>> print(x,y)
5 3
2. Write it in python language as follows:
>>> x = 3
>>> y = 5
>>> x,y = y,x
>>> print(x,y)
5 3