Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 159 Bytes

File metadata and controls

15 lines (11 loc) · 159 Bytes
@author jackzhenguo
@desc 
@date 2019/2/23

23 交换两元素

def swap(a, b):
    return b, a


print(swap(1, 0))  # (0,1)