您的位置: 首页 > IT文章 > 判断字符串是否包含某一个值方法 判断字符串是否包含某一个值方法 分类: IT文章 • 2025-01-27 10:06:56 text = "今天晚上一起吃饭哈"assert text.__contains__("吃饭")