如果字符串以給定的後綴結尾,則endswith()方法返回True,否則返回False。 用法: str.endswith(suffix, start, end). 參數:. suffix:後綴隻不過是需要檢查的字符串。
確定! 回上一頁