bars
北商資管Python課程
search
circle-xmark
⌘
Ctrl
k
copy
Copy
chevron-down
二. 基本資料型態
4. 字串, str
字串是Python的一種內建資料型態,它的儲存內容是文字。
4-1 設定字串變數
chevron-right
4-2 字串的加法及乘法
chevron-right
4-3 去除字串的前後空白及計算字串長度
chevron-right
4-4 字串轉整數/浮點數
chevron-right
4-5 鍵盤輸入字串值
chevron-right
4-6 格式化輸出
chevron-right
4-7 判斷字串中是否存在某個字
chevron-right
4-8 使用索引運算子
chevron-right
4-9 字串內容轉大寫/小寫
chevron-right
Previous
3-3 邏輯式評估的短路迴圈
chevron-left
Next
4-1 設定字串變數
chevron-right
Last updated
3 years ago