將string字串變數裡的左右兩邊空白字元刪除掉. ❍chars參數可決定要刪除的字元. ❑ string.lstrip([chars]): 左邊空白字元刪除. ❑ string.rstrip([chars]): 右邊空白 ...
確定! 回上一頁