計算子串的長度: len(string_name). 2023/3/8 ... print(len(x1)) # 印出該字串的長度 ... Python提供一系列的isxxx的功能,可判斷字串是否有xxx屬性.
確定! 回上一頁