2、str.index()函数:跟find()方法一样,只不过如果str不在string中会报一个异常。 str.index(substring, beg=0, end=len(string)). Python小知识:查找 ...
確定! 回上一頁