我刚刚在这里遇到过这个,总是像这样使用:
if string1.find(string2) <> -1: pass
什么是<>运营商做的,为什么不使用普通的==或in?
<>
==
in
对不起,如果之前已经回答,搜索引擎不喜欢标点符号.
python
python ×1