摘要: 1、 startswith(): 判断字符串是否以某个子串开始,是则返回True,否则返回False 示例: my_str = 'hello world and my and test and python' # 1、 startswith(): 判断字符串是否以某个子串开始,是则返回True,否则 阅读全文
posted @ 2020-12-01 18:30 蓝小六 阅读(218) 评论(0) 推荐(0) 编辑