当前位置:网站首页>Determine whether a string contains the specified string (verified)

Determine whether a string contains the specified string (verified)

2022-06-11 14:24:00 Vertira

Python Simple method ,c++ similar

>>> a = 'what is your name'
>>> b ='is'
>>> result = b in a
>>> result  # The result is true , There is , The result is false   non-existent 
True# There is 
>>>

原网站

版权声明
本文为[Vertira]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203012045565774.html