@author jackzhenguo @desc @date 2019/2/23 23 交换两元素 def swap(a, b): return b, a print(swap(1, 0)) # (0,1)