Python 字符串startswith() 方法 ... x = txt.startswith("Hello") print(x) ... 如果字符串以指定的值开头,则startswith() 方法返回True,否则返回False。
確定! 回上一頁