Skip to content

Commit aaf3627

Browse files
committed
Bitwise
1 parent 21574a9 commit aaf3627

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ shuffle(<list>)
483483
'0b<bin>' = bin(<int>) # Or: '0x<hex>' = hex(<int>)
484484
```
485485

486-
### Bitwise
486+
### Bitwise Operators
487487
```python
488488
<int> = <int> & <int> # And
489489
<int> = <int> | <int> # Or

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ <h3 id="binhex">Bin, Hex</h3>
540540
&lt;int&gt; = int(<span class="hljs-string">'&lt;bin&gt;'</span>, <span class="hljs-number">2</span>) <span class="hljs-comment"># Or: int('&lt;hex&gt;', 16)</span>
541541
<span class="hljs-string">'0b&lt;bin&gt;'</span> = bin(&lt;int&gt;) <span class="hljs-comment"># Or: '0x&lt;hex&gt;' = hex(&lt;int&gt;)</span>
542542
</code></pre>
543-
<h3 id="bitwise">Bitwise</h3>
543+
<h3 id="bitwiseoperators">Bitwise Operators</h3>
544544
<pre><code class="python language-python hljs">&lt;int&gt; = &lt;int&gt; &amp; &lt;int&gt; <span class="hljs-comment"># And</span>
545545
&lt;int&gt; = &lt;int&gt; | &lt;int&gt; <span class="hljs-comment"># Or</span>
546546
&lt;int&gt; = &lt;int&gt; ^ &lt;int&gt; <span class="hljs-comment"># Xor (0 if both bits equal)</span>

0 commit comments

Comments
 (0)