---
# System prepended metadata

title: swap

---

# swap


以往都需要maintain 一個tem 
```python=
tem =b
b=a
a=tem 
```

但在python 直接就可以交換了by one line 
```python=
a,b=b,a
```

