Python 只要宣告變數名稱,不用宣告形態,它會自己根據變數的值來判斷形態為何注意變數名稱是case ... str[index1 : index2] 為在str中位置[index1:index2)的子字串.
確定! 回上一頁