整數(int)
1,2,........1000.....
float:浮點數
字符串(str)
在python中,用引號引起來的數據都是字符串
name = 'ghl'
單引號,雙引號,三引號 引起來沒有任何區別
msg = "My name is ghl ,I'm 18 years old!"
三引號用於換行的字符串
字符串可以+ 與數字相乘
布爾值(bool)
用於邏輯運算的判斷
用戶交互input
常見的輸入的賬號密碼等
用戶交互input
name = input('請輸入姓名: ')