📌  相关文章
📜  如何在python代码示例中检查字符串中是否有单词

📅  最后修改于: 2022-03-11 14:45:39.692000             🧑  作者: Mango

代码示例1
>>> str = "Messi is the best soccer player"
>>> "soccer" in str
True
>>> "football" in str
False