---
# System prepended metadata

title: python 輸入 input
tags: [python, input, 輸入]

---

# python 輸入 input
###### tags: `python` `輸入` `input`


---



---

## 練習

---
pw = input('輸入密碼:')
print(f'your pass word is {pw}')

![](https://i.imgur.com/ShDeWOC.png)


![](https://i.imgur.com/JT796cF.png)


---
驗證pw資料類型

pw = input('輸入密碼:')
print(f'your pass word is {pw}')

print(type(pw))

![](https://i.imgur.com/4jHRkQ1.png)

![](https://i.imgur.com/g80lkj4.png)


---

![](https://i.imgur.com/7gnMmvt.png)

