擅长:python、mysql、java
<p>使用<code>or</code>。你知道吗</p>
<p>你所做的是“按位或”,它的工作方式与你想做的不同。
您可以在这里快速阅读摘要:<a href="http://www.tutorialspoint.com/python/bitwise_operators_example.htm" rel="nofollow">http://www.tutorialspoint.com/python/bitwise_operators_example.htm</a></p>