摘要: #startswith() 和 endswith(): ##1.描述: startswith() 方法用于判断字符串是否以指定前缀开头 endswith() 方法用于判断字符串是否以指定后缀结尾 ##2.语法: S.startswith(prefix[,start=0[,end=len(S)]]) 阅读全文
posted @ 2021-10-15 15:22 ZghzzZyu 阅读(466) 评论(0) 推荐(0)