擅长:python、mysql、java
<p>在中使用的方式不正确,应删除<code>==True</code>,否则python将在二进制列表中将其视为“orange”。你知道吗</p>
<pre><code>for x in stuff:
if 'orange' in x:
print('testing to see if this works\n')
print(x)
testing to see if this works
orange
testing to see if this works
oranges and apples guys
</code></pre>