'PYTHON'. >>> toast[:5]+toast[5:] 'PYTHONSLICE' ... 字符串(以ascii() 內置函數轉換任何Python 對象) ... 與string.ljust()有相反的意思. — str.rpartition(sep).
確定! 回上一頁