擅长:python、mysql、java
<p>在python中,可以使用逻辑门。在</p>
<p>例如,您可以使用<code>and</code>或<code>&</code>。在</p>
<p><a href="https://docs.python.org/2/library/stdtypes.html#bitwise-operations-on-integer-types" rel="nofollow noreferrer">https://docs.python.org/2/library/stdtypes.html#bitwise-operations-on-integer-types</a></p>